Event.getState
bool getState(out gdk.types.ModifierType state)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
state | return location for state |
Returns
true if there was a state field in the event