[pygtk] HOWTO removing window decorations.

Jan Weil jawebada at mailbox.tu-berlin.de
Fri Apr 30 16:30:50 WST 2004


Am Fre, den 30.04.2004 schrieb Steven Howe um 06:12:
> I have a dialog window that I would like to remove all decorations. 
> By all I mean the left or 'window menu' and right decoration, minimize,
> maximize and 'close window'.

Hi Steven,

take a look at gtk.Window.set_decorated at [1].
dialog_window.set_decorated(FALSE) _should_ remove all decorations.
But it depends on the window manager you're using if your window
eventually will be decorated or not.

HTH

Jan

[1]http://www.pygtk.org/pygtk2reference/class-gtkwindow.html#method-gtkwindow--set-decorated




More information about the pygtk mailing list