"Ian King" <[EMAIL PROTECTED]> 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.

If you're trying to get the widget someone clicked, remember that not
all widgets have windows.

Havoc

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to