您的位置:首页 > 编程语言 > Python开发

mothes to find subwidgets/windows in wxPython

2006-04-30 12:45 162 查看
there are three methods in wxPython:

1,wx.FindWindowById(id,parent = None)

2,wx.FindWindowByName(name,parent = None)

3,wx.FindWindowByLabel(label,parent = None)

in all three cases,the parent argument can be used to limit the search to a particular subhierarchy (i.e.,it's equivalent to calling the Find method of that argument ). Also ,FindWindowByName() looks first in the name arguments' if it does not find a match ,it calls FindWindowByLabel() to look for a match.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐