Gets the next #GdkEvent to be processed for @display, fetching events from the windowing system if necessary.
the next #GdkEvent to be processed, or %NULL if no events are pending. The returned #GdkEvent should be freed with gdk_event_free().
2.2
See Implementation
Gets the next #GdkEvent to be processed for @display, fetching events from the windowing system if necessary.