Handbook
Glossary
column-titles ( renderer -- strings )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Table gadgets
»
Table row renderer protocol
Prev:
filled-column ( renderer -- n )
Vocabulary
ui
.
gadgets
.
tables
Inputs
renderer
an
object
Outputs
strings
an
object
Definition
IN:
ui.gadgets.tables
GENERIC:
column-titles
( renderer -- strings )
Methods
USING:
color-table
kernel
ui.gadgets.tables
;
M:
color-renderer
column-titles
drop
{
"Color"
"Name"
"Red"
"Green"
"Blue"
"Hex"
}
;
USING:
kernel
ui.gadgets.tables
ui.tools.error-list
;
M:
error-renderer
column-titles
drop
{
""
"Line"
"Asset"
"Error"
}
;
USING:
kernel
ui.gadgets.tables
ui.tools.inspector
;
M:
inspector-renderer
column-titles
drop
{
"Key"
"Value"
}
;
USING:
kernel
ui.gadgets.tables
;
M:
object
column-titles
drop
f
;
USING:
kernel
ui.gadgets.tables
ui.tools.error-list
;
M:
source-file-renderer
column-titles
drop
{
""
"File"
"Errors"
}
;
USING:
accessors
ui.gadgets.controls
ui.gadgets.tables
;
M:
table
column-titles
column-titles>>
;