get_current_event


Description:


public Event? get_current_event ()

Obtains a copy of the event currently being processed by GTK+.

For example, if you are handling a clicked signal, the current event will be the EventButton that triggered the ::clicked signal.

Returns:

a copy of the current event, or null if there is no current event. The returned event must be freed with free.


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org