insert_next_to


Description:

public void insert_next_to (Actor sibling, GridPosition side)

Inserts a row or column at the specified position.

The new row or column is placed next to sibling, on the side determined by side. If side is LEFT or BOTTOM, a row is inserted. If side is LEFT of RIGHT, a column is inserted.

Parameters:

this

a GridLayout

sibling

the child of this that the new row or column will be placed next to

side

the side of sibling that child is positioned next to