Find out about the child widget in GtkGestureClick::released

I think I might be missing something, in which case I apologize: if I have a parent widget (e.g. GtkBox) with an associated GtkGestureClick::released event, how can I find out which child widget received the click?


You can use gtk_widget_pick on your GtkBox, with the (x,y) coordinates passed by the GtkGestureClick::released signal callback.

Thank you. That’s what I was missing.


1 Like

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.