Handbook
Glossary
selected-row ( table -- value/f ? )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Table gadgets
»
Table row selection
Next:
(selected-row) ( table -- value/f ? )
Vocabulary
ui
.
gadgets
.
tables
Inputs
table
an
object
Outputs
value/f
an
object
?
an
object
Definition
USING:
accessors
kernel
;
IN:
ui.gadgets.tables
:
selected-row
( table -- value/f ? )
[
(selected-row)
]
[
renderer>>
]
bi
swap
[
row-value
t
]
[
2drop
f
f
]
if
;