Package: gdk

Function gdk:event-state

Lambda List

gdk:event-state (event)

Arguments

event -- a gdk:event instance or nil

Return Value

The gdk:modifier-type value for 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

2025-08-31