Handbook
Glossary
key-event>gesture ( event -- key-gesture )
Vocabulary
ui
.
backend
.
gtk2
Inputs
event
an
object
Outputs
key-gesture
an
object
Definition
USING:
accessors
gdk2.ffi
kernel
ui.backend.x11.keys
ui.gestures
;
IN:
ui.backend.gtk2
:
key-event>gesture
( event -- key-gesture )
[
event-modifiers
]
[
keyval>>
key-sym
]
[
type>>
GDK_KEY_PRESS
=
[
<key-down>
]
[
<key-up>
]
if
]
tri
;