Hi. > 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.
I would probably use gdk_window_get_origin() and gdk_drawable_get_size() to obtain the geometry of the window, since _get_frame_extents() may include window manager decorations if they are present. Tadej -- Tadej Borovšak tadeboro.blogspot.com tadeb...@gmail.com tadej.borov...@gmail.com _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list