Re: Screen resolution




On 9 Jul 2010, at 10:24, Tor Lillqvist wrote:

Ah, maybe I've misunderstood....  is that in fact what gdk_screen_get_monitor_geometry() will tell me?

Yes. Also note that there can be "holes" in the screen that no monitor covers.


Thanks Tor.  One more question if I may....

Suppose I have two monitors, each of resolution 1024x768.  The monitors are placed side-by-side to cover a 
total screen size of 2048x768.  I have a GdkWindow of some description situated at co-ordinates 900 pixels 
(x) and 0 pixels (y).

If the window is (say) 600x600 pixels, it's bounding rectangle should return 900,0,600,600  Is 
gdk_window_get_frame_extents() the correct way to retrieve this info?  I don't seem to be able to find much 
information about it.


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