Re: [pygtk] reserve screen space / prevent overlapping

2011-05-27 Thread John Stowers
Hi, > The Gtk.Window().get_window() returns an object of type > gi.types.gtk.gdk.X11window. Can i do something with that? Nope. > I tried to get_properties() on it, but i had to pass an argument and > could not introspect to find out which, and i don't know if the > set_property() method would h

Re: [pygtk] reserve screen space / prevent overlapping

2011-05-27 Thread Benjamin Trias
On 27 May 2011 01:28, John Stowers wrote: > On Wed, 2011-05-25 at 22:50 +0200, Benjamin Trias wrote: > > Hi list, > > > > I am trying to port from Gtk+2 to Gtk+3 using Python (PyGobject > Introspection) > > > > I am trying to find the equivalent of: > > gtk.Window.get_toplevel().window.property_c

Re: [pygtk] reserve screen space / prevent overlapping

2011-05-26 Thread John Stowers
On Wed, 2011-05-25 at 22:50 +0200, Benjamin Trias wrote: > Hi list, > > I am trying to port from Gtk+2 to Gtk+3 using Python (PyGobject Introspection) > > I am trying to find the equivalent of: > gtk.Window.get_toplevel().window.property_change("_NET_WM_STRUT", > "CARDINAL", 32, gtk.gdk.PROP_MODE

[pygtk] reserve screen space / prevent overlapping

2011-05-25 Thread Benjamin Trias
Hi list, I am trying to port from Gtk+2 to Gtk+3 using Python (PyGobject Introspection) I am trying to find the equivalent of: gtk.Window.get_toplevel().window.property_change("_NET_WM_STRUT", "CARDINAL", 32, gtk.gdk.PROP_MODE_REPLACE, [0,0,24,0]) which i used to reserve screen space (24 pix at