<table> ( rows renderer -- table )
Factor handbook » UI framework » Building user interfaces » Pre-made UI gadgets » Table gadgets

Prev:table? ( object -- ? )
Next:Table row renderer protocol


Vocabulary
ui.gadgets.tables

Inputs
rowsa model
renderera row renderer


Outputs
tablea table


Word description
Creates a table displaying the rows in a model using the given renderer. Wrap a sequence of rows with <model> before passing it to this word.

Errors
Throws an error if rows is not a model.

Definition

: <table> ( rows renderer -- table ) table new-table ;