Re: Finding gtkwidget from GdkWindow



>
> "Ian King" <king eiffel com> writes:
> > If I retrieve the gdkwindow that the mouse pointer is currently over
> > (gdk_window_at_pointer), what is the easiest way to find the relative
> > gtkWidget for which this gdkwindow is associated with.
> >
>
> It's gdk_window_get_user_data (window). The user data on a window is
> always the widget it's associated with.
>

In response to this, is there anyway to query the GdkWindow at position (X,
Y)?

Thanks for your time

Ian King






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