[wxPython-users] gtk: wx.Window.FindFocus

Robin Dunn robin at alldunn.com
Mon Mar 5 10:36:44 PST 2007


Franz Steinhaeusler wrote:
> Also a difference between Windows and gtk:
> 
> wx.Window.FindFocus()
> that always work on windows, but most time, 
> on Linux it returns None on the same position
> in the current code.

GTK doesn't require that some widget have the focus at all times like 
Windows does.  If you force the focus to some widget at startup then in 
most cases it will work as you expect after that.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list