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.
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.
相关文章推荐
- How to find a file or folder in MS-DOS or Windows command line
- How To Find User's SIDs in windows
- windows7安装myeclipse 10.0时出现failed to find a main class in "c:\windows\temp"解决
- Error:Cause: failed to find target with hash string 'N' in: F:\Androidstudio\android-sdk-windows <a
- windows8安装myeclipse 10.0时出现failed to find a main class in "c:\windows\temp"解决
- How To Subclass a Window in Windows 95
- Unable to find manifest signing certificate in the certificate store
- How to Develop and Test Device Drivers in Windows CE 5.0
- How to manually generate a Heapdump in WebSphere on Windows
- Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.5.0-gcj-4.5/lib/tools.jar 求解
- 【摘自Devx】How to pass parameters to Thread in Windows Forms -- and get results back
- How to find number of a specific integer in an array of Fixnums ruby
- This application failed to start because it could not find or load the Qt platform plugin "xcb" in "
- Use windows message to change text in CEdit with timeout control
- How to make Windows Form app truly Full Screen (and to hide Taskbar) in C#? 转
- Try to find out the wrong in the test
- PHP使用copy函数复制windows文件时出现failed to open stream: Invalid argument in错误
- Windows下pip安装包报错:Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat
- How to Change Password Complexity Requirements in Windows XP
- Potential issues involved in updating Windows NT IFS drivers to Windows 2000