On Mon, 12 Mar 2001, Andre Luis Lopes wrote:

> Hi all
> 
>    Someone knows how to get the screen width and height ? I'm needing it to 
> be able to set a top level window size.
> 
>   I'm using :
> 
>   window = GtkWindow(WINDOW_TOPLEVEL)
>   window.set_usize(800, 600)
> 
>   But, it would be better if I could use :
> 
>   window = GtkWindow(WINDOW_TOPLEVEL)
>   window.set_usize(screen_widht, screen_height)
> 
>    Some volunteer to help me on this ?

You can use the screen_width() and screen_height() functions found in the
gtk module for this.

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to