Grid.insertNextTo

void insertNextTo(gtk.widget.Widget sibling, gtk.types.PositionType 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 [gtk.types.PositionType.Top] or [gtk.types.PositionType.Bottom], a row is inserted. If side is [gtk.types.PositionType.Left] of [gtk.types.PositionType.Right], a column is inserted.

Parameters

siblingthe child of grid that the new row or column will be placed next to
sidethe side of sibling that child is positioned next to