Method
ClutterGridLayoutattach_next_to
Declaration [src]
void
clutter_grid_layout_attach_next_to (
ClutterGridLayout* layout,
ClutterActor* child,
ClutterActor* sibling,
ClutterGridPosition side,
gint width,
gint height
)
Description [src]
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 == CLUTTER_GRID_POSITION_LEFT yields a layout of [3][2][1].
| Available since: | 1.12 |
Parameters
child |
ClutterActor |
The actor to add. |
|
| The data is owned by the caller of the function. | |
sibling |
ClutterActor |
The child of |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
side |
ClutterGridPosition |
The side of |
|
width |
gint |
The number of columns that |
|
height |
gint |
The number of rows that |