[wxPython-users] Initially focus on dialogs on gtk

Robin Dunn robin at alldunn.com
Fri Feb 29 14:56:19 PST 2008


Franz Steinhäusler wrote:
> Hello, 
> 
> a user of DrPython reported a annoying  problem on getk
> Several times, a newly created dialog don't have the focus automatically.
> On Windows, there is nowhere a problem, but on gtk (a version of it, I don't know)
> to the dialog must be said, after creating, dlg.SetFocus() to achieve this.
> 
> Is that known?
> Is that intended?
> How is the easiest fix for that, or have I go sure, that on every dialog creation, I have to set the
> focus after the creation?

It is known, but I don't know if it is intended or not.  I also find it 
annoying, but it has been that way for a long time so I eventually got 
used to it.  You can ask about it on wx-users and probably get an 
official answer.


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





More information about the wxpython-users mailing list