Determining window position



Hi,

could anybody help me to determine the position of a window on the
screen?
I already tried

GtkWindow* window;
int x,y;
...
gdk_window_get_root_origin(window,&x,&y);

but obviously, window is of the wrong type (GtkWindow* instead of
GdkWindow*).

Thanks in advance

Thomas







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