Handbook
Glossary
prototype-row ( renderer -- columns )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Table gadgets
»
Table row renderer protocol
Prev:
row-summary ( row renderer -- object )
Next:
column-alignment ( renderer -- alignment )
Vocabulary
ui
.
gadgets
.
tables
Inputs
renderer
an
object
Outputs
columns
an
object
Definition
IN:
ui.gadgets.tables
GENERIC:
prototype-row
( renderer -- columns )
Methods
USING:
arrays
definitions.icons
kernel
math
ui.gadgets.tables
ui.images
ui.tools.listener.completion
;
M:
definition-completion
prototype-row
drop
\
+
definition-icon
<image-name>
""
2array
;
USING:
combinators.smart
compiler.errors
kernel
ui.gadgets.tables
ui.tools.error-list
;
M:
error-renderer
prototype-row
drop
[
+compiler-error+
error-icon
""
""
""
]
output>array
;
USING:
kernel
ui.gadgets.tables
;
M:
object
prototype-row
drop
{
""
}
;
USING:
arrays
kernel
ui.gadgets.tables
ui.tools.error-list
;
M:
source-file-renderer
prototype-row
drop
source-file-icon
""
""
3array
;