Declaration [src]

gtk_get_current_event_state (
  GdkModifierType* state

Description [src]

If there is a current event and it has a state field, place that state field in state and return TRUE, otherwise return FALSE.


state GdkModifierType

A location to store the state of the current event.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.

Return value

Returns: gboolean

TRUE if there was a current event and it had a state field.