ui.gestures vocabulary
Factor handbook ยป Vocabulary index


Documentation
UI gestures

Metadata
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
button-down tuplemods #
button-up tuplemods #
drag tuple#
file-drop tuplemods
key-down key-gesture
key-gesture tuplemods sym
key-up key-gesture
propagate-gesture-tuple tuplegesture gadget
propagate-key-gesture-tuple tuplegesture world
send-gesture-tuple tuplegesture gadget
user-input-tuple tuplestring world


Singleton classes
close-action
copy-action
cut-action
delete-action
down-action
gain-focus
left-action
lose-focus
motion
mouse-enter
mouse-leave
mouse-scroll
new-action
open-action
paste-action
redo-action
revert-action
right-action
save-action
save-as-action
select-all-action
undo-action
up-action
zoom-in-action
zoom-out-action


Union classes
action


Generic words
WordStack effect
action-modifier( -- mod )
gesture>string( gesture -- string/f )
handle-gesture( gesture gadget -- ? )
handles-gesture?( gesture gadget -- ? )
keysym>string( keysym -- string )
modifiers>string( modifiers -- string )
send-queued-gesture( request -- )


Symbol words
A+
C+
M+
S+
double-click-timeout
drag-timer
dropped-files
hand-buttons
hand-click#
hand-click-loc
hand-clicked
hand-gadget
hand-last-button
hand-last-time
hand-loc
hand-world
scroll-direction


Ordinary words
WordStack effect
<button-down>( mods # -- button-down )
<button-up>( mods # -- button-up )
<drag>( # -- drag )
<file-drop>( mods -- file-drop )
<key-down>( mods sym action? -- key-down )
<key-up>( mods sym action? -- key-up )
action-gestures( -- value )
button-gesture( gesture -- )
drag-gesture( -- )
drag-loc( -- loc )
each-gesture( gesture seq -- )
fire-motion( -- )
focus-child( child gadget ? -- )
forget-rollover( -- )
gesture-queue( -- deque )
get-gesture-handler( gesture gadget -- quot )
hand-click-rel( gadget -- loc )
hand-gestures( new old -- )
hand-moved?( -- ? )
hand-rel( gadget -- loc )
modifier( mod modifiers -- seq )
move-hand( loc world -- )
multi-click-button?( button -- button ? )
multi-click-position?( -- ? )
multi-click-timeout?( -- ? )
multi-click?( button -- ? )
new-key-gesture( mods sym action? class -- key-gesture )
parents-handle-gesture?( gesture gadget -- ? )
propagate-gesture( gesture gadget -- )
propagate-key-gesture( gesture world -- )
queue-gesture( ... class -- )
resend-gesture( gesture gadget -- ? )
send-action( world gesture -- )
send-button-down( gesture loc world -- )
send-button-up( gesture loc world -- )
send-gain-focus( gadget -- )
send-gesture( gesture gadget -- )
send-lose-focus( gadget -- )
send-scroll( direction loc world -- )
set-gestures( class hash -- )
start-drag-timer( -- )
stop-drag-timer( -- )
under-hand( -- seq )
update-click#( button -- )
update-clicked( -- )
user-input( string world -- )
world-focus( world -- gadget )


Class predicate words
WordStack effect
action?( object -- ? )
button-down?( object -- ? )
button-up?( object -- ? )
close-action?( object -- ? )
copy-action?( object -- ? )
cut-action?( object -- ? )
delete-action?( object -- ? )
down-action?( object -- ? )
drag?( object -- ? )
file-drop?( object -- ? )
gain-focus?( object -- ? )
key-down?( object -- ? )
key-gesture?( object -- ? )
key-up?( object -- ? )
left-action?( object -- ? )
lose-focus?( object -- ? )
motion?( object -- ? )
mouse-enter?( object -- ? )
mouse-leave?( object -- ? )
mouse-scroll?( object -- ? )
new-action?( object -- ? )
open-action?( object -- ? )
paste-action?( object -- ? )
propagate-gesture-tuple?( object -- ? )
propagate-key-gesture-tuple?( object -- ? )
redo-action?( object -- ? )
revert-action?( object -- ? )
right-action?( object -- ? )
save-action?( object -- ? )
save-as-action?( object -- ? )
select-all-action?( object -- ? )
send-gesture-tuple?( object -- ? )
undo-action?( object -- ? )
up-action?( object -- ? )
user-input-tuple?( object -- ? )
zoom-in-action?( object -- ? )
zoom-out-action?( object -- ? )


Files


Metadata files