Package: gdk

Function gdk-event-state

Lambda List

gdk-event-state (event)

Arguments

event -- a gdk-event instance or nil

Return Value

state -- the state as a gdk-modifier-type value

Details

If the event contains a "state" field, returns the value. Otherwise returns an empty state (0). event may be nil, in which case it is treated as if the event had no state field.
 

See also

2020-8-25