Grid.attachNextTo

void attachNextTo(gtk.widget.Widget child, gtk.widget.Widget sibling, gtk.types.PositionType side, int width, int height)

Adds a widget to the grid.

The widget is placed next to sibling, on the side determined by side. When sibling is null, the widget is placed in row (for left or right placement) or column 0 (for top or bottom placement), at the end indicated by side.

Attaching widgets labeled [1], [2], [3] with sibling == null and side == [gtk.types.PositionType.Left] yields a layout of [3][2][1].

Parameters

childthe widget to add
siblingthe child of grid that child will be placed next to, or null to place child at the beginning or end
sidethe side of sibling that child is positioned next to
widththe number of columns that child will span
heightthe number of rows that child will span