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
child | the widget to add |
sibling | the child of grid that child will be placed next to, or null to place child at the beginning or end |
side | the side of sibling that child is positioned next to |
width | the number of columns that child will span |
height | the number of rows that child will span |