Top | ![]() |
![]() |
![]() |
![]() |
MxBoxLayoutChildMxBoxLayoutChild — meta data associated with a MxBoxLayout child. |
gboolean | mx_box_layout_child_get_expand () |
void | mx_box_layout_child_set_expand () |
gboolean | mx_box_layout_child_get_x_fill () |
void | mx_box_layout_child_set_x_fill () |
gboolean | mx_box_layout_child_get_y_fill () |
void | mx_box_layout_child_set_y_fill () |
MxAlign | mx_box_layout_child_get_x_align () |
void | mx_box_layout_child_set_x_align () |
MxAlign | mx_box_layout_child_get_y_align () |
void | mx_box_layout_child_set_y_align () |
MxBoxLayoutChild is a ClutterChildMeta implementation that stores the child properties for children inside a MxBoxLayout.
gboolean mx_box_layout_child_get_expand (MxBoxLayout *box_layout
,ClutterActor *child
);
Get the 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.
gboolean mx_box_layout_child_get_x_fill (MxBoxLayout *box_layout
,ClutterActor *child
);
Get the 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.
gboolean mx_box_layout_child_get_y_fill (MxBoxLayout *box_layout
,ClutterActor *child
);
Get the 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.
MxAlign mx_box_layout_child_get_x_align (MxBoxLayout *box_layout
,ClutterActor *child
);
Get the 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.
MxAlign mx_box_layout_child_get_y_align (MxBoxLayout *box_layout
,ClutterActor *child
);
Get the 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.
struct MxBoxLayoutChild;
The contents of this structure are private and should only be accessed through the public API.
“expand”
property “expand” gboolean
Allocate the child extra space.
Flags: Read / Write
Default value: FALSE
“x-align”
property“x-align” MxAlign
X alignment of the widget within the cell.
Flags: Read / Write
Default value: MX_ALIGN_MIDDLE
“x-fill”
property “x-fill” gboolean
Whether the child should receive priority when the container is allocating spare space on the horizontal axis.
Flags: Read / Write
Default value: TRUE
“y-align”
property“y-align” MxAlign
Y alignment of the widget within the cell.
Flags: Read / Write
Default value: MX_ALIGN_MIDDLE