Re: [gtk-list] position of window on screen.



On Tue, 14 Apr 1998, Christopher James Lahey wrote:

> How do I find out the position of a GtkWindow on the screen?  I've been
> able to find the size using gdk_window_get_geometry( ->window, ... ) but
> it returns the position as x==0 and y==0.

gdk_window_get_origin(widget->window, &x, &y);

-- Elliot					http://www.redhat.com/
Chicken Little was right.



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