![]() |
![]() |
![]() |
Mx Toolkit Reference Manual | ![]() |
---|---|---|---|---|
MxBoxLayoutChildMxBoxLayoutChild — meta data associated with a MxBoxLayout child. |
MxBoxLayoutChild; gboolean mx_box_layout_child_get_expand (MxBoxLayout *box_layout, ClutterActor *child); void mx_box_layout_child_set_expand (MxBoxLayout *box_layout, ClutterActor *child, gboolean expand); gboolean mx_box_layout_child_get_x_fill (MxBoxLayout *box_layout, ClutterActor *child); void mx_box_layout_child_set_x_fill (MxBoxLayout *box_layout, ClutterActor *child, gboolean x_fill); gboolean mx_box_layout_child_get_y_fill (MxBoxLayout *box_layout, ClutterActor *child); void mx_box_layout_child_set_y_fill (MxBoxLayout *box_layout, ClutterActor *child, gboolean y_fill); MxAlign mx_box_layout_child_get_x_align (MxBoxLayout *box_layout, ClutterActor *child); void mx_box_layout_child_set_x_align (MxBoxLayout *box_layout, ClutterActor *child, MxAlign x_align); MxAlign mx_box_layout_child_get_y_align (MxBoxLayout *box_layout, ClutterActor *child); void mx_box_layout_child_set_y_align (MxBoxLayout *box_layout, ClutterActor *child, MxAlign y_align);
"expand" gboolean : Read / Write "x-align" MxAlign : Read / Write "x-fill" gboolean : Read / Write "y-align" MxAlign : Read / Write "y-fill" gboolean : Read / Write
MxBoxLayoutChild is a ClutterChildMeta implementation that stores the child properties for children inside a MxBoxLayout.
typedef struct _MxBoxLayoutChild MxBoxLayoutChild;
The contents of this structure are private and should only be accessed through the public API.
gboolean mx_box_layout_child_get_expand (MxBoxLayout *box_layout, ClutterActor *child);
Get the value of the "expand" property
box_layout : |
A MxBoxLayout |
child : |
A ClutterActor |
Returns : | the current value of the "expand" property |
void mx_box_layout_child_set_expand (MxBoxLayout *box_layout, ClutterActor *child, gboolean expand);
Set the value of the "expand" property.
box_layout : |
A MxBoxLayout |
child : |
A ClutterActor |
expand : |
A gboolean |
gboolean mx_box_layout_child_get_x_fill (MxBoxLayout *box_layout, ClutterActor *child);
Get the value of the "x-fill" property.
box_layout : |
A MxBoxLayout |
child : |
A ClutterActor |
Returns : | the current value of the "x-fill" property. |
void mx_box_layout_child_set_x_fill (MxBoxLayout *box_layout, ClutterActor *child, gboolean x_fill);
Set the value of the "x-fill" property.
box_layout : |
A MxBoxLayout |
child : |
A ClutterActor |
x_fill : |
A gboolean |
gboolean mx_box_layout_child_get_y_fill (MxBoxLayout *box_layout, ClutterActor *child);
Get the value of the "y-fill" property
box_layout : |
An MxBoxLayout |
child : |
A ClutterActor |
Returns : | the current value of the "y-fill" property |
void mx_box_layout_child_set_y_fill (MxBoxLayout *box_layout, ClutterActor *child, gboolean y_fill);
Set the value of the "y-fill" property.
box_layout : |
An MxBoxLayout |
child : |
A ClutterActor |
y_fill : |
A gboolean |
MxAlign mx_box_layout_child_get_x_align (MxBoxLayout *box_layout, ClutterActor *child);
Get the value of the "x-align" property
box_layout : |
An MxBoxLayout |
child : |
A ClutterActor |
Returns : | the current value of the "x-align" property |
void mx_box_layout_child_set_x_align (MxBoxLayout *box_layout, ClutterActor *child, MxAlign x_align);
Set the value of the "x-align" property.
box_layout : |
A MxBoxLayout |
child : |
A ClutterActor |
x_align : |
An MxAlign |
MxAlign mx_box_layout_child_get_y_align (MxBoxLayout *box_layout, ClutterActor *child);
Get the value of the "y-align" property.
box_layout : |
An MxBoxLayout |
child : |
A ClutterActor |
Returns : | the current value of the "y-align" property. |
void mx_box_layout_child_set_y_align (MxBoxLayout *box_layout, ClutterActor *child, MxAlign y_align);
Set the value of the "y-align" property.
box_layout : |
An MxBoxLayout |
child : |
A ClutterActor |
y_align : |
An MxAlign |
"expand"
property"expand" gboolean : Read / Write
Allocate the child extra space.
Default value: FALSE
"x-align"
property"x-align" MxAlign : Read / Write
X alignment of the widget within the cell.
Default value: MX_ALIGN_MIDDLE
"x-fill"
property"x-fill" gboolean : Read / Write
Whether the child should receive priority when the container is allocating spare space on the horizontal axis.
Default value: TRUE
"y-align"
property"y-align" MxAlign : Read / Write
Y alignment of the widget within the cell.
Default value: MX_ALIGN_MIDDLE