1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| gboolean user_function (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data) : Run Last
The ::button-press-event signal will be emitted when a button (typically from a mouse) is pressed.
To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_BUTTON_PRESS_MASK mask.
This signal will be sent to the grab widget if there is one.
widget :
the object which received the signal.
event :
the GdkEventButton which triggered this signal
user_data :
user data set when the signal handler was connected.
Returns :
TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further. |
Partager