Gtk.Grid.prototype.attach_next_to
function attach_next_to(child:Gtk.Widget, sibling:Gtk.Widget, side:Gtk.PositionType, width:Number, height:Number):void { // Gjs wrapper for gtk_grid_attach_next_to() }
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.PositionType.left yields a layout of [3][2][1].
- 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