Module window_state

Source
Expand description

Window state handling / synchronization

Functionsยง

determine_callbacks
Determine which event / which callback(s) should be called and in which order
get_focus_events
get_hover_events
get_window_events
keymap
Utility function that, given the current keyboard state and a list of keyboard accelerators + callbacks, checks what callback can be invoked and the first matching callback. This leads to very readable (but still type checked) code like this: