Definition icons
Factor handbook ยป UI developer tools

Prev:Presentations in the UI
Next:UI listener


The definitions.icons vocabulary associates common definition types with icons.
Definition class
constant
generic
macro
parsing-word
predicate-class
primitive
runnable-vocab
symbol
topic
vocab
vocab-link
word
word-link

Looking up the icon associated with a definition:
definition-icon ( definition -- path )


Defining new icons:
ICON: