Event.get

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

class Event
static
get
()

Return Value

Type: gdk.event.Event

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