随笔分类 - wxpython
摘要:#encoding: utf-8import wximport osimport nonameclass Frame( noname.MyFrame1 ): def __init__(self,parent): noname.MyFrame1.__init__(self,parent) self.curBitmap = None self.curBitmapPostion = None self.curPointerPos = None def m_createBitmap_buttonOnButtonClick ( s...
阅读全文
摘要:ItemContainer 是 很多可以添加string item的部件的父类,封装很多有用的方法,可以用来获取部件的被选中item 的string如wx.ListBox ,wx.CheckListBox,wx.Choice,wx.ComboBox。这些部件可以添加string ,并且内部对它们索引访问。string GetString(self,n),得到指定索引的stringint GetSelection(self) 返回选中的string的索引这两个现在用的多
阅读全文

浙公网安备 33010602011771号