[pygtk] set_decorated

john walker uzusan at gmail.com
Tue Mar 4 02:08:36 WST 2008


Hi,

I'm having some trouble with set_decorated. I have this function
defined:

def clicked(widget, event):
    # toggle window manager frames
    widget.set_decorated(not widget.get_decorated())

Which works properly when running under gnome with compiz enabled, but
doesn't work under openbox with xcompmgr.

The strange thing is, when I'm setting up the window i run this:

win.set_decorated(False)

which works properly and hides the window decorations. If i change it to
True, the window is properly decorated but still wont change when
clicked. Any ideas?

thanks
john 



More information about the pygtk mailing list