Re: How to get the resolution of the screen
- From: Mark Stratman <mark sporkstorms org>
- To: Max Moser <mmo remote-exploit org>
- Cc: gtk-perl-list gnome org
- Subject: Re: How to get the resolution of the screen
- Date: 26 Jan 2002 12:56:17 -0600
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]