On Tue, 2001-10-02 at 08:34, Skip Montanaro wrote:
>
> (I'm using the 2.0 API, but not yet the Gtk-less/Py2.2-compatible names.)
>
> Given a arbitrary realized widget I can get the root window dimensions using
> something like
Hi, I am assuming that the root window is always the full size of th
Matt> Yesterday I bound gtk.gdk.get_default_root_window(),
Matt> gtk.gdk.screen_width(), etc.
Thanks, yesterday I stumbled upon gtk/gdk/gdk.h and added some new entries
to the gdk.defs file as well and submitted a request to bugzilla.
Skip
__
Yesterday I bound gtk.gdk.get_default_root_window(),
gtk.gdk.screen_width(), etc.
Matt
On Mon, Oct 01, 2001 at 03:34:18PM -0500, Skip Montanaro wrote:
>
> (I'm using the 2.0 API, but not yet the Gtk-less/Py2.2-compatible names.)
>
> Given a arbitrary realized widget I can get the root window d
(I'm using the 2.0 API, but not yet the Gtk-less/Py2.2-compatible names.)
Given a arbitrary realized widget I can get the root window dimensions using
something like
def root_geometry(w):
gdkw = w.window
if gdkw is None:
raise ValueError, "widget does not have a w