![]() |
![]() |
![]() |
Mx Toolkit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
MxStackChildMxStackChild — meta data associated with a MxStack child. |
struct MxStackChild; struct MxStackChildClass; gboolean mx_stack_child_get_x_fill (MxStack *stack
,ClutterActor *child
); void mx_stack_child_set_x_fill (MxStack *stack
,ClutterActor *child
,gboolean x_fill
); gboolean mx_stack_child_get_y_fill (MxStack *stack
,ClutterActor *child
); void mx_stack_child_set_y_fill (MxStack *stack
,ClutterActor *child
,gboolean y_fill
); MxAlign mx_stack_child_get_x_align (MxStack *stack
,ClutterActor *child
); void mx_stack_child_set_x_align (MxStack *stack
,ClutterActor *child
,MxAlign x_align
); MxAlign mx_stack_child_get_y_align (MxStack *stack
,ClutterActor *child
); void mx_stack_child_set_y_align (MxStack *stack
,ClutterActor *child
,MxAlign y_align
); gboolean mx_stack_child_get_fit (MxStack *stack
,ClutterActor *child
); void mx_stack_child_set_fit (MxStack *stack
,ClutterActor *child
,gboolean fit
);
"fit" gboolean : Read / Write "x-align" MxAlign : Read / Write "x-fill" gboolean : Read / Write "y-align" MxAlign : Read / Write "y-fill" gboolean : Read / Write
MxStackChild is a ClutterChildMeta implementation that stores the child properties for children inside a MxStack.
struct MxStackChild;
The contents of this structure are private and should only be accessed through the public API.
struct MxStackChildClass { 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_stack_child_get_x_fill (MxStack *stack
,ClutterActor *child
);
Get the value of the "x-fill" property.
|
A MxStack |
|
A ClutterActor |
Returns : |
the current value of the "x-fill" property. |
Since 1.2
void mx_stack_child_set_x_fill (MxStack *stack
,ClutterActor *child
,gboolean x_fill
);
Set the value of the "x-fill" property.
|
A MxStack |
|
A ClutterActor |
|
A gboolean |
Since 1.2
gboolean mx_stack_child_get_y_fill (MxStack *stack
,ClutterActor *child
);
Get the value of the "y-fill" property
|
An MxStack |
|
A ClutterActor |
Returns : |
the current value of the "y-fill" property |
Since 1.2
void mx_stack_child_set_y_fill (MxStack *stack
,ClutterActor *child
,gboolean y_fill
);
Set the value of the "y-fill" property.
|
An MxStack |
|
A ClutterActor |
|
A gboolean |
Since 1.2
MxAlign mx_stack_child_get_x_align (MxStack *stack
,ClutterActor *child
);
Get the value of the "x-align" property
|
An MxStack |
|
A ClutterActor |
Returns : |
the current value of the "x-align" property |
Since 1.2
void mx_stack_child_set_x_align (MxStack *stack
,ClutterActor *child
,MxAlign x_align
);
Set the value of the "x-align" property.
|
A MxStack |
|
A ClutterActor |
|
An MxAlign |
Since 1.2
MxAlign mx_stack_child_get_y_align (MxStack *stack
,ClutterActor *child
);
Get the value of the "y-align" property.
|
An MxStack |
|
A ClutterActor |
Returns : |
the current value of the "y-align" property. |
Since 1.2
void mx_stack_child_set_y_align (MxStack *stack
,ClutterActor *child
,MxAlign y_align
);
Set the value of the "y-align" property.
|
An MxStack |
|
A ClutterActor |
|
An MxAlign |
Since 1.2
gboolean mx_stack_child_get_fit (MxStack *stack
,ClutterActor *child
);
Get the value of the "fit" property.
|
An MxStack |
|
A ClutterActor |
Returns : |
the current value of the "fit" property |
Since 1.2
void mx_stack_child_set_fit (MxStack *stack
,ClutterActor *child
,gboolean fit
);
Set the value of the "fit" property.
|
An MxStack |
|
A ClutterActor |
|
A gboolean |
Since 1.2
"fit"
property"fit" gboolean : Read / Write
Attempt to fit the actor into the available space while respecting the actor's width-for-height or height-for-width constraints. The fill properties are ignored when this property is enabled.
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
"y-fill"
property"y-fill" gboolean : Read / Write
Whether the child should receive priority when the container is allocating spare space on the vertical axis.
Default value: TRUE