| Top |
Functions
| StWidget * | st_bin_new () |
| void | st_bin_set_child () |
| ClutterActor * | st_bin_get_child () |
| void | st_bin_set_alignment () |
| void | st_bin_get_alignment () |
| void | st_bin_set_fill () |
| void | st_bin_get_fill () |
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── ClutterActor
╰── StWidget
╰── StBin
├── StButton
╰── StScrollView
Implemented Interfaces
StBin implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
Functions
st_bin_set_child ()
void st_bin_set_child (StBin *bin,ClutterActor *child);
Sets child
as the child of bin
.
If bin
already has a child, the previous child is removed.
st_bin_get_child ()
ClutterActor *
st_bin_get_child (StBin *bin);
Retrieves a pointer to the child of bin
.
st_bin_set_alignment ()
void st_bin_set_alignment (StBin *bin,StAlign x_align,StAlign y_align);
Sets the horizontal and vertical alignment of the child inside a StBin.
st_bin_get_alignment ()
void st_bin_get_alignment (StBin *bin,StAlign *x_align,StAlign *y_align);
Retrieves the horizontal and vertical alignment of the child
inside a StBin, as set by st_bin_set_alignment().
Parameters
bin |
a StBin |
|
x_align |
return location for the horizontal alignment, or |
|
y_align |
return location for the vertical alignment, or |
st_bin_set_fill ()
void st_bin_set_fill (StBin *bin,gboolean x_fill,gboolean y_fill);
Sets whether the child of bin
should fill out the horizontal
and/or vertical allocation of the parent
Parameters
bin |
a StBin |
|
x_fill |
|
|
y_fill |
|
Property Details
The “child” property
“child” ClutterActor *
The child ClutterActor of the StBin container.
Flags: Read / Write
The “x-align” property
“x-align” StAlign
The horizontal alignment of the StBin child.
Flags: Read / Write
Default value: ST_ALIGN_MIDDLE
The “x-fill” property
“x-fill” gboolean
Whether the child should fill the horizontal allocation
Flags: Read / Write
Default value: FALSE
The “y-align” property
“y-align” StAlign
The vertical alignment of the StBin child.
Flags: Read / Write
Default value: ST_ALIGN_MIDDLE
