[wxPython-users] Initially focus on dialogs on gtk

Karsten Hilbert Karsten.Hilbert at gmx.net
Fri Feb 29 15:16:15 PST 2008


On Fri, Feb 29, 2008 at 02:56:19PM -0800, Robin Dunn wrote:
> User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031)
> Subject: Re: [wxPython-users]  Initially focus on dialogs on gtk
> 
> 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.

dlg.SetFocus() does the job on gtk but beware of MacOSX - it crashes...

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




More information about the wxpython-users mailing list