![]() |
![]() |
![]() |
St Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct StOverflowBox; struct StOverflowBoxClass; gboolean st_overflow_box_get_min_children (StOverflowBox *box
); guint st_overflow_box_get_n_children (StOverflowBox *box
); guint st_overflow_box_get_n_visible (StOverflowBox *box
); void st_overflow_box_set_min_children (StOverflowBox *self
,guint min_children
);
GObject +----GInitiallyUnowned +----ClutterActor +----StWidget +----StContainer +----StOverflowBox
StOverflowBox implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
This is a "flexible" box which will paint as many actors as it can within its given allocation; its minimum height request will be the sum of the mimimum size for the "min-children" property, which is by default 0.
Every child will be allocated the full width of the box, and always be given its preferred height. Even if not actually painted, every child is counted for overall preferred width/height.
struct StOverflowBox;
The contents of this structure are private and should only be accessed through the public API.
gboolean st_overflow_box_get_min_children (StOverflowBox *box
);
Get the value of the "pack-start" property.
|
A StOverflowBox |
Returns : |
TRUE if pack-start is enabled |
guint st_overflow_box_get_n_children (StOverflowBox *box
);
|
a StOverflowBox |
Returns : |
the number of children in this box. |
guint st_overflow_box_get_n_visible (StOverflowBox *box
);
|
a StOverflowBox |
Returns : |
the number of children we will paint. Only valid after the actor has been allocated. |
void st_overflow_box_set_min_children (StOverflowBox *self
,guint min_children
);