PyGTK-2 Full-Screen mode.

David M. Cook davecook at nowhere.net
Mon Mar 3 01:50:51 EST 2003


In article <14bd1399.0303021258.67171d44 at posting.google.com>, kkennedy wrote:

> Does anyone know how to make a window "full-screen" with PyGTK-2?  By
> full-screen, I mean no decoration and no task bar or panel visible,
> and preferably the ability to disable the alt-tab functionality.  This
> would be the eqivalent of the "full-screen-exclusive-mode" in Java SDK
> 1.4.

I think this might do it:

window1.set_decorated(gtk.FALSE)
window1.fullscreen()

You'll need to do a bit more to disable alt-tab.

See the API docs for more info:

http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html

Dave Cook




More information about the Python-list mailing list