[pygtk] gtk.Window focus problem

Yann Leboulanger asterix at lagaule.org
Sun Feb 7 18:24:30 WST 2010


Mallikarjun(ಮಲ್ಲಿಕಾರ್ಜುನ್) wrote:
> Dear friends,
> I have written a small application, which is a very tiny and exits by
> pressing escape. But I am not able to bring the window on to front on
> launch.
>         print self.window.is_focus()    --> Output is False
>         print self.window.is_active()    --> Output is False
> 
> Ofcourse I wrote it on pygtk :)
> Can someone help me.


http://pygtk.org/docs/pygtk/class-gtkwindow.html#method-gtkwindow--present

should help you
-- 
Yann


More information about the pygtk mailing list