Event.get

Checks all open displays for a gdk.Event to process,to be processed on, fetching events from the windowing system if necessary. See Display.getEvent.

class Event
static
get
()

Return Value

Type: Event

the next gdk.Event to be processed, or NULL if no events are pending. The returned gdk.Event should be freed with Event.free.