Main.getCurrentEvent

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 GdkEventButton that triggered the ::clicked signal.

struct Main
static
getCurrentEvent
()

Return Value

Type: Event

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