|  |  |  | St Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
struct StBin; struct StBinClass; StWidget * st_bin_new (void); void st_bin_set_child (StBin *bin,ClutterActor *child); ClutterActor * st_bin_get_child (StBin *bin); void st_bin_set_alignment (StBin *bin,StAlign x_align,StAlign y_align); void st_bin_get_alignment (StBin *bin,StAlign *x_align,StAlign *y_align); void st_bin_set_fill (StBin *bin,gboolean x_fill,gboolean y_fill); void st_bin_get_fill (StBin *bin,gboolean *x_fill,gboolean *y_fill);
  GObject
   +----GInitiallyUnowned
         +----ClutterActor
               +----StWidget
                     +----StBin
                           +----StButton
                           +----StScrollView
StBin implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
"child" ClutterActor* : Read / Write "x-align" StAlign : Read / Write "x-fill" gboolean : Read / Write "y-align" StAlign : Read / Write "y-fill" gboolean : Read / Write
StWidget *          st_bin_new                          (void);
Creates a new StBin, a simple container for one child.
| Returns : | the newly created StBin actor | 
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.
ClutterActor *      st_bin_get_child                    (StBin *bin);
Retrieves a pointer to the child of bin.
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.
| 
 | a StBin | 
| 
 | horizontal alignment | 
| 
 | vertical 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().
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
| 
 | a StBin | 
| 
 | TRUEif the child should fill horizontally thebin | 
| 
 | TRUEif the child should fill vertically thebin | 
"child" property  "child"                    ClutterActor*         : Read / Write
The child ClutterActor of the StBin container.
"x-align" property  "x-align"                  StAlign               : Read / Write
The horizontal alignment of the StBin child.
Default value: ST_ALIGN_MIDDLE
"x-fill" property  "x-fill"                   gboolean              : Read / Write
Whether the child should fill the horizontal allocation
Default value: FALSE
"y-align" property  "y-align"                  StAlign               : Read / Write
The vertical alignment of the StBin child.
Default value: ST_ALIGN_MIDDLE