Re: How to get Width and height..

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

 



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@xxxxxxxxx
tadej.borovsak@xxxxxxxxx
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux