attach_next_to
Description:
Adds a actor to the grid.
The actor is placed next to sibling
, on the side determined by side
. When sibling
is null
,
the actor 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
==
LEFT yields a layout of [3][2][1].
Parameters:
this | |
child |
the actor to add |
sibling |
the child of this that |
side |
the side of |
width |
the number of columns that |
height |
the number of rows that |