Re: Finding gtkwidget from GdkWindow
- From: "Ian King" <king eiffel com>
- To: "Havoc Pennington" <hp redhat com>
- Cc: <gtk-list gnome org>
- Subject: Re: Finding gtkwidget from GdkWindow
- Date: Fri, 15 Jun 2001 10:15:21 -0700
>
> "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]