Re: [pygtk] root window dimensions

2001-10-28 Thread Rob Brown-Bayliss
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

Re: [pygtk] root window dimensions

2001-10-03 Thread Skip Montanaro
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 __

Re: [pygtk] root window dimensions

2001-10-03 Thread Matt Wilson
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

[pygtk] root window dimensions

2001-10-01 Thread Skip Montanaro
(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