Re: [gtk-list] Re: Re: position of widget / widget at position




GtkWidget *whatever;
gint x, y;

gdk_window_get_position(whatever->window, &x, &y);

On Mon, 1 Feb 1999, Etienne Grossmann wrote:

> > - What is the x,y position (absolute screen coordinates, or relative
> >   to the "toplevel" gtk window) of a widget?
> 
> gdk_window_get_position(GdkWindow *window, gint *x, gint *y);
> 
>   Yes, but where is the GdkWindow * ? I only have GtkXYZ's ...



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