getCurrentEventState

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

bool
getCurrentEventState

Parameters

state gdk.types.ModifierType

a location to store the state of the current event

Return Value

Type: bool

true if there was a current event and it had a state field