Event.getState

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.

class Event
int
getState

Parameters

state GdkModifierType

return location for state. out

Return Value

Type: int

TRUE if there was a state field in the event

Meta