Main.getCurrentEvent

Obtains a copy of the event currently being processed by GTK+. For example, if you get a "clicked" signal from GtkButton, the current event will be the GdkEventButton that triggered the "clicked" signal. The returned event must be freed with gdk_event_free(). If there is no current event, the function returns NULL.

class Main
static
getCurrentEvent
()

Return Value

Type: Event

a copy of the current event, or NULL if no current event. [transfer full]

Meta