[pygtk] grab_focus - partial solution

Alessandro Dentella sandro at e-den.it
Sat May 17 21:50:51 WST 2008


> It turns out grab_focus works as expected when I first create the window and
> entry. Any successive entry, added to this window will not get the focus.
> 

Ok, I partially solved my problem adding a .present() to the callback. I say
'partially' since that makes the window to raise to the toplevel, that is
not necessarily what I want...

Is there a way to prevent that?


sandro

--
mi sento come una goccia di sodio in una bottoglia di acqua lete...


More information about the pygtk mailing list