API Version: 3.0
Library Version: 3.24
Generated by gi-docgen 2025.4
GdkEvent* gtk_get_current_event ( void )
Obtains a copy of the event currently being processed by GTK+.
For example, if you are handling a GtkButton::clicked signal, the current event will be the GdkEventButton that triggered the ::clicked signal.
GtkButton::clicked
GdkEventButton
Type: GdkEvent
GdkEvent
A copy of the current event, or NULL if there is no current event. The returned event must be freed with gdk_event_free().
NULL