Gtk.Grid.prototype.insert_next_to
function insert_next_to(sibling:Gtk.Widget, side:Gtk.PositionType):void { // Gjs wrapper for gtk_grid_insert_next_to() }
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.PositionType.top or Gtk.PositionType.bottom, a row is inserted. If side is Gtk.PositionType.left of Gtk.PositionType.right, a column is inserted.
Since 3.2
- sibling
the child of grid that the new row or column will be placed next to
- side
the side of sibling that @child is positioned next to