[pygtk] Window Focus Issue

Mystilleef mystilleef at gmail.com
Fri Aug 11 05:26:14 WST 2006


Hello,

I am trying to focus an application window on the current desktop. The
gtk.Window.present() function is supposed to do that for me. However,
when I call the function the application window only gets focused for a
few seconds then looses focus again and hides behind the previously
focused window. Do I need to do anything special to ensure that the
window I want focused stays focused? I've tried calling the
set_focus_on_map function but to no avail. Your suggestion is appreciated.

Thanks


More information about the pygtk mailing list