Re: How to get Width and height..
- From: Tadej Borovšak <tadeboro gmail com>
- To: Lohitha R <lohitha r globaledgesoft com>
- Cc: gtk-list gnome org
- Subject: Re: How to get Width and height..
- Date: Wed, 16 Jun 2010 15:55:33 +0200
Hello.
To obtain GdkScreen which is associated with your GtkWindow, use
gtk_window_get_screen(). But keep in mind that screen doesn't always
mean physical monitor, since in multi-headed settings, one screen can
stretch over multiple monitors.
To obtain monitor size, you'll need to use
gdk_screen_get_monitor_geometry() function.
Tadej
--
Tadej Borovšak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]