随笔分类 -  wxPython

摘要:下面是递归遍历、获取树节点的方法。 1 def getTreeAllText(self): 2 '''获取树控件的全部文本''' 3 result = [] 4 treeRoot = self.treeCtrl.GetRootItem() 5 ... 阅读全文
posted @ 2014-09-01 16:05 阿驹 阅读(3141) 评论(0) 推荐(0)
摘要:wx.KeyEventHomeTreesIndexHelpwxPython2.8.9.2 Packagewx :: ClassKeyEvent [frames|noframes]Type KeyEventobject --+ | Object -... 阅读全文
posted @ 2014-08-11 00:05 阿驹 阅读(1815) 评论(0) 推荐(0)
摘要:Character code and keyboards under windowsCharacter setBasically, windows uses the ANSI character set and not the 8-bits ASCII char set. The ANSI cha... 阅读全文
posted @ 2014-08-11 00:03 阿驹 阅读(295) 评论(0) 推荐(0)
摘要:In this post, I’ll detail how to catch specific key presses and why this can be useful. This is another in my series of “requested” tutorials. There r... 阅读全文
posted @ 2014-08-11 00:02 阿驹 阅读(988) 评论(0) 推荐(0)
摘要:wxStyledTextCtrl - Events Copyright and License informationHome__ A B C D E F G H I L M P R S T U V W wxStyledTextCtrl - EventsEvent MaskingGetModEve... 阅读全文
posted @ 2014-08-10 23:29 阿驹 阅读(817) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-08-04 17:44 阿驹 阅读(136) 评论(0) 推荐(0)
摘要:个人认为学习GUI程序开发,最重要的两个基础点就是:事件处理和界面布局。事件处理能够让你在界面上的控件被鼠标、按键等触发的时候做出合适的响应,比如点击“保存”按钮之后弹出标准的文件保存对话框。另外一件重要的就是界面的布局,之所以要有GUI程序,就是为了有良好的用户体验,如果一个软件界面布局乱七八糟的... 阅读全文
posted @ 2014-08-03 01:16 阿驹 阅读(5111) 评论(0) 推荐(0)
摘要:1 # -*- coding:utf-8 -*- 2 #! /usr/bin/env python 3 ''' 4 Created on 2014年8月1日 5 6 @author: dWX232085 7 ''' 8 import wx 9 import os10 11 import imag... 阅读全文
posted @ 2014-08-01 16:15 阿驹 阅读(322) 评论(0) 推荐(0)