Re: How to get the resolution of the screen



On Sat, 2002-01-26 at 02:28, Max Moser wrote:
Hi there

I need to get the screensize of the X for costumizing the gui according the screen (ipaq device etc).
I just found that GDK got a function, but i dont know if it is available to gtkperl. 

Gtk::Gdk->screen_width();
# and
Gtk::Gdk->screen_height();

These return the screen size in pixels. There are also
screen_height_mm() and screen_width_mm() to return the size in mm.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]