Declaration [src]

gdk_display_get_event (
  GdkDisplay* display

Description [src]

Gets the next GdkEvent to be processed for display, fetching events from the windowing system if necessary.

Available since:2.2

Return value

Returns: GdkEvent

The next GdkEvent to be processed, or NULL if no events are pending. The returned GdkEvent should be freed with gdk_event_free().

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.