[pygtk] restore window position
toobaz at email.it
Thu Dec 17 16:42:00 WST 2009
Il giorno gio, 17/12/2009 alle 18.13 +1100, Simon Burton ha scritto:
> When finding out the position of a window i get a position that is offset by
> the window manager decorations. So I haven't been able to restore a windows
> position because the move function takes a position that is not offset by
> the decorations.
> Is there a way around this problem ?
> I have tried all the following:
> They all return coordinates offset by the window manager decorations.
I didn't try all of these, nor did study the decorations problem, but I
did verify that:
does leave the window where it is. To my eyes, this would seem enough,
That said, if you program for Linux also make sure you read
documentation for gtk.Window.set_role.
More information about the pygtk