![]() |
![]() |
![]() |
Mx Toolkit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
MxBoxLayoutChildMxBoxLayoutChild — meta data associated with a MxBoxLayout child. |
struct MxBoxLayoutChild; struct MxBoxLayoutChildClass; 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.
struct MxBoxLayoutChild;
The contents of this structure are private and should only be accessed through the public API.
struct MxBoxLayoutChildClass { ClutterChildMetaClass parent_class; /* padding for future expansion */ void (*_padding_0) (void); void (*_padding_1) (void); void (*_padding_2) (void); void (*_padding_3) (void); void (*_padding_4) (void); };
gboolean mx_box_layout_child_get_expand (MxBoxLayout *box_layout
,ClutterActor *child
);
Get the value of the "expand" property
|
A MxBoxLayout |
|
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.
|
A MxBoxLayout |
|
A ClutterActor |
|
A gboolean |
gboolean mx_box_layout_child_get_x_fill (MxBoxLayout *box_layout
,ClutterActor *child
);
Get the value of the "x-fill" property.
|
A MxBoxLayout |
|
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.
|
A MxBoxLayout |
|
A ClutterActor |
|
A gboolean |
gboolean mx_box_layout_child_get_y_fill (MxBoxLayout *box_layout
,ClutterActor *child
);
Get the value of the "y-fill" property
|
An MxBoxLayout |
|
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.
|
An MxBoxLayout |
|
A ClutterActor |
|
A gboolean |
MxAlign mx_box_layout_child_get_x_align (MxBoxLayout *box_layout
,ClutterActor *child
);
Get the value of the "x-align" property
|
An MxBoxLayout |
|
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.
|
A MxBoxLayout |
|
A ClutterActor |
|
An MxAlign |
MxAlign mx_box_layout_child_get_y_align (MxBoxLayout *box_layout
,ClutterActor *child
);
Get the value of the "y-align" property.
|
An MxBoxLayout |
|
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.
|
An MxBoxLayout |
|
A ClutterActor |
|
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