Method
GdkEventget_state
Declaration [src]
gboolean
gdk_event_get_state (
  const GdkEvent* event,
  GdkModifierType* state
)
      Description [src]
If the event contains a “state” field, puts that field in state. Otherwise
stores an empty state (0). Returns TRUE if there was a state field
in the event. event may be NULL, in which case it’s treated
as if the event had no state field.
Parameters
event- 
            
Type:
GdkEventA
GdkEventorNULL.The argument can be NULL. state- 
            
Type:
GdkModifierTypeReturn location for state.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it.