Top |
StWidget * | st_box_layout_new () |
void | st_box_layout_set_vertical () |
gboolean | st_box_layout_get_vertical () |
void | st_box_layout_set_pack_start () |
gboolean | st_box_layout_get_pack_start () |
void | st_box_layout_insert_actor () |
void | st_box_layout_insert_before () |
GObject ╰── GInitiallyUnowned ╰── ClutterActor ╰── StWidget ╰── StViewport ╰── StBoxLayout
StBoxLayout implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
The StBoxLayout arranges its children along a single line, where each child can be allocated either its preferred size or larger if the expand option is set. If the fill option is set, the actor will be allocated more than its requested size. If the fill option is not set, but the expand option is enabled, then the position of the actor within the available space can be determined by the alignment child property.
void st_box_layout_set_vertical (StBoxLayout *box
,gboolean vertical
);
Set the value of the “vertical” property
gboolean
st_box_layout_get_vertical (StBoxLayout *box
);
Get the value of the “vertical” property.
void st_box_layout_set_pack_start (StBoxLayout *box
,gboolean pack_start
);
Set the value of the “pack-start” property.
gboolean
st_box_layout_get_pack_start (StBoxLayout *box
);
Get the value of the “pack-start” property.
void st_box_layout_insert_actor (StBoxLayout *self
,ClutterActor *actor
,int pos
);
Adds actor
to self
at position pos
. If pos
is
negative or larger than the number of elements in the
list then actor
is added after all the others previously
added.
void st_box_layout_insert_before (StBoxLayout *self
,ClutterActor *actor
,ClutterActor *sibling
);
Adds actor
to self
at the position before sibling
.
sibling
cannot be NULL
and must be already a child
of self
.