8.16.0.4
Represents a mouse event.
Checks whether
MouseEvent.downs(ev) would include
sym,
potentially avoiding the construction of a set internally.
Reports a derived property of the mouse event.
|
class KeyEvent(): | constructor ( | code :: (Char || KeyEvent.Key), | ~release_code: r_code :: (Char || KeyEvent.Key) = #'press, | ~other_caps_code: oc_code :: maybe(Char || KeyEvent.Key) = #false, | ~other_shift_code: os_code :: maybe(Char || KeyEvent.Key) = #false, | ~other_altgr_code: oa_code :: maybe(Char || KeyEvent.Key) = #false, | ~other_shift_altgr_code: osa_code :: maybe(Char || KeyEvent.Key) = #false, | ~downs: downs :: Set.of(KeyEvent.Down) = Set{}, | ~x: x :: Int = 0, | ~y: y :: Int = 0, | ~timestamp: timestamp :: Int = 0, | ~use_altgr: use_altgr :: Any = #true, | ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Represents a keyboard event.
Checks whether
KeyEvent.downs(ev) would include
sym,
potentially avoiding the construction of a set internally.
General category for a mouse event.
Modifier keys that can be down during a mouse event.
Mouse buttons that can be down during a mouse event.
Modifier keys that can be down during a key event.
Keys that can be pressed or released for a key event.