开发者

wxPython: How do I find out which widget has the focus?

开发者 https://www.devze.com 2023-01-11 04:13 出处:网络
How do I find out which widget in my wx.F开发者_JAVA技巧rame has the focus?You should be able to use the Window class\'s static FindFocus() method to return the object that has focus.

How do I find out which widget in my wx.F开发者_JAVA技巧rame has the focus?


You should be able to use the Window class's static FindFocus() method to return the object that has focus.

api: http://www.wxpython.org/docs/api/wx.Window-class.html#FindFocus

examples: http://nullege.com/codes/search/wx.Window.FindFocus/all/page:2

0

精彩评论

暂无评论...
验证码 换一张
取 消