MxStackChild

MxStackChild — meta data associated with a MxStack child.

Synopsis

struct              MxStackChild;
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);

Object Hierarchy

  GObject
   +----ClutterChildMeta
         +----MxStackChild

Properties

  "x-align"                  MxAlign               : Read / Write
  "x-fill"                   gboolean              : Read / Write
  "y-align"                  MxAlign               : Read / Write
  "y-fill"                   gboolean              : Read / Write

Description

MxStackChild is a ClutterChildMeta implementation that stores the child properties for children inside a MxStack.

Details

struct MxStackChild

struct MxStackChild;

The contents of this structure are private and should only be accessed through the public API.


mx_stack_child_get_x_fill ()

gboolean            mx_stack_child_get_x_fill           (MxStack *stack,
                                                         ClutterActor *child);

Get the value of the "x-fill" property.

stack :

A MxStack

child :

A ClutterActor

Returns :

the current value of the "x-fill" property.

mx_stack_child_set_x_fill ()

void                mx_stack_child_set_x_fill           (MxStack *stack,
                                                         ClutterActor *child,
                                                         gboolean x_fill);

Set the value of the "x-fill" property.

stack :

A MxStack

child :

A ClutterActor

x_fill :

A gboolean

mx_stack_child_get_y_fill ()

gboolean            mx_stack_child_get_y_fill           (MxStack *stack,
                                                         ClutterActor *child);

Get the value of the "y-fill" property

stack :

An MxStack

child :

A ClutterActor

Returns :

the current value of the "y-fill" property

mx_stack_child_set_y_fill ()

void                mx_stack_child_set_y_fill           (MxStack *stack,
                                                         ClutterActor *child,
                                                         gboolean y_fill);

Set the value of the "y-fill" property.

stack :

An MxStack

child :

A ClutterActor

y_fill :

A gboolean

mx_stack_child_get_x_align ()

MxAlign             mx_stack_child_get_x_align          (MxStack *stack,
                                                         ClutterActor *child);

Get the value of the "x-align" property

stack :

An MxStack

child :

A ClutterActor

Returns :

the current value of the "x-align" property

mx_stack_child_set_x_align ()

void                mx_stack_child_set_x_align          (MxStack *stack,
                                                         ClutterActor *child,
                                                         MxAlign x_align);

Set the value of the "x-align" property.

stack :

A MxStack

child :

A ClutterActor

x_align :

An MxAlign

mx_stack_child_get_y_align ()

MxAlign             mx_stack_child_get_y_align          (MxStack *stack,
                                                         ClutterActor *child);

Get the value of the "y-align" property.

stack :

An MxStack

child :

A ClutterActor

Returns :

the current value of the "y-align" property.

mx_stack_child_set_y_align ()

void                mx_stack_child_set_y_align          (MxStack *stack,
                                                         ClutterActor *child,
                                                         MxAlign y_align);

Set the value of the "y-align" property.

stack :

An MxStack

child :

A ClutterActor

y_align :

An MxAlign

Property Details

The "x-align" property

  "x-align"                  MxAlign               : Read / Write

X alignment of the widget within the cell.

Default value: MX_ALIGN_MIDDLE


The "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


The "y-align" property

  "y-align"                  MxAlign               : Read / Write

Y alignment of the widget within the cell.

Default value: MX_ALIGN_MIDDLE


The "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