pygtk: how to make a screenlocking window?

Dave Cook davecook at nowhere.net
Thu Mar 29 23:04:17 EDT 2007


On 2007-03-28, André Wyrwa <a.wyrwa at gmx.de> wrote:

> can anyone please point me to the relevant pygtk window properties i
> need to set to make a window
> - fullscreen
> - stay in front
> - grab all input focus
> so that i can use it as a screen lock the likes that gksu or
> gnome-power-manager do?

See the reference page for gtk.Window:

http://pygtk.org/docs/pygtk/class-gtkwindow.html

Methods of interest are fullscreen(), set_modal(), set_type_hint(),
set_keep_above().

Dave Cook



More information about the Python-list mailing list