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 the
screen.

I do:

app.set_default_size(screen_width(),screen_height())

where app is a gnomeapp but I imagine it would work witha gtkwindow. 
the screen_width and screen_height are defined inmy gtk.py near the end,
around line 2790'ish

Don't know if this helps or not...

-- 

  Rob Brown-Bayliss
 ---======o======---
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to