Handbook
Glossary
primary-operation ( obj -- operation )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
UI gestures
»
Operations
Prev:
define-operation ( pred command flags -- )
Next:
secondary-operation ( obj -- operation )
Vocabulary
ui
.
operations
Inputs
obj
an
object
Outputs
operation
an
operation
or
f
Word description
Outputs the operation which should be invoked when a presentation of
obj
is clicked.
Definition
IN:
ui.operations
:
primary-operation
( obj -- operation )
[
primary-operation?
]
find-operation
;