Package: gdk

Function gdk:event-state

Lambda List

gdk:event-state (event)

Arguments

event -- a gdk:event instance or nil

Return Value

state -- a gdk:modifier-type value with the state

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

2023-2-26