attach_next_to
Description:
public void attach_next_to (Widget child, Widget? sibling, PositionType side, int width = 1, int height = 1)
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_pos_left` yields a layout of `3[1]`.
Parameters:
this |
a `GtkGrid` |
child |
the widget to add |
sibling |
the child of this that |
side |
the side of |
width |
the number of columns that |
height |
the number of rows that |