pygtk: how to make a screenlocking window?

  • Thread starter =?ISO-8859-1?Q?Andr=E9?= Wyrwa
  • Start date
?

=?ISO-8859-1?Q?Andr=E9?= Wyrwa

Hi,

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?

Thanks.
André.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBGClEJEOp8fsnyxsQRAj6lAJ48fOklzQBYKNLTN78Uvg1jfvexSwCfc0mG
3mnXP+ofNOsllntiEFox4+g=
=iqKG
-----END PGP SIGNATURE-----
 
D

Dave Cook

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top