grid-add ( grid child pair -- grid )
Factor handbook » UI framework » Building user interfaces » Gadget hierarchy and layouts » Grid layouts

Prev:<grid> ( children -- grid )
Next:grid-remove ( grid pair -- grid )


Vocabulary
ui.gadgets.grids

Inputs
grida grid
childa gadget
paira pair with shape { col row }


Outputs
grida grid


Word description
Adds a child gadget at the specified location.

Errors
Throws an error if the indices are out of bounds.

Side effects
Modifies grid

Definition