Re: [pygtk] reserve screen space / prevent overlapping


> The Gtk.Window().get_window() returns an object of type
> gi.types.gtk.gdk.X11window. Can i do something with that?


> 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 help.

get/set_property are methods of GObject. Not what you want here.

> Or is there a non-Gtk way to address X and reserve screen space?

You could mess around with ctypes and xlib directly if you really
wanted. There is also python-xlib and python-xcb that might let you poke
at what you want.


> Thanks
> Benjamin

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]