[pygtk] Querying display manager for screen size

Gustavo J. A. M. Carneiro gjc at inescporto.pt
Tue Mar 9 03:30:32 WST 2004


A Seg, 2004-03-08 às 19:10, Steven Howe escreveu:
> Is there a gtk function that will query the display manager (X) for the
> current screen size (1024x768, 800x600 ...)?

  Yes, gtk.gdk.screen_width() and gtk.gdk.screen_height().

  Regards.

-- 
Gustavo J. A. M. Carneiro
<gjc at inescporto.pt> <gustavo at users.sourceforge.net>



More information about the pygtk mailing list