TypeScript API Documentation for GTK
API Version: 3.0
Library Version: 3.24.51
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Obtains a copy of the event currently being processed by GTK+.
For example, if you are handling a Gtk.Button::clicked signal, the current event will be the Gdk.EventButton that triggered the ::clicked signal.
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
gdk_event_free()
Obtains a copy of the event currently being processed by GTK+.
For example, if you are handling a Gtk.Button::clicked signal, the current event will be the Gdk.EventButton that triggered the ::clicked signal.