Re: [gtk-list] position of window on screen.
- From: Elliot Lee <sopwith cuc edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] position of window on screen.
- Date: Tue, 14 Apr 1998 15:29:42 -0400 (EDT)
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]