Handbook
Glossary
secondary-operation ( obj -- operation )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
UI gestures
»
Operations
Prev:
primary-operation ( obj -- operation )
Next:
define-operation-map ( class group blurb object translator -- )
Vocabulary
ui
.
operations
Inputs
obj
an
object
Outputs
operation
an
operation
or
f
Word description
Outputs the operation which should be invoked when a
RET
is pressed while a presentation of
obj
is selected in a list.
Definition
USING:
accessors
kernel
words
;
IN:
ui.operations
:
secondary-operation
( obj -- operation )
[
[
command>>
+secondary+
word-prop
]
find-operation
]
[
primary-operation
]
?unless
;