Function

GdkEventget

Declaration [src]

GdkEvent*
gdk_event_get (
  void
)

Description [src]

Checks all open displays for a GdkEvent to process,to be processed on, fetching events from the windowing system if necessary. See gdk_display_get_event().

Return value

Type: 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 function takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.