Function

Gtkget_current_event_state

Declaration [src]

gboolean
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.

Parameters

state

Type: GdkModifierType

A location to store the state of the current event.

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

Return value

Type: gboolean

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