MxBoxLayoutChild

MxBoxLayoutChild — meta data associated with a MxBoxLayout child.

Synopsis

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

Object Hierarchy

  GObject
   +----ClutterChildMeta
         +----MxBoxLayoutChild

Properties

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

Description

MxBoxLayoutChild is a ClutterChildMeta implementation that stores the child properties for children inside a MxBoxLayout.

Details

struct MxBoxLayoutChild

struct MxBoxLayoutChild;

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


struct MxBoxLayoutChildClass

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);
};

mx_box_layout_child_get_expand ()

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

mx_box_layout_child_set_expand ()

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

mx_box_layout_child_get_x_fill ()

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.

mx_box_layout_child_set_x_fill ()

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

mx_box_layout_child_get_y_fill ()

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

mx_box_layout_child_set_y_fill ()

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

mx_box_layout_child_get_x_align ()

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

mx_box_layout_child_set_x_align ()

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

mx_box_layout_child_get_y_align ()

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.

mx_box_layout_child_set_y_align ()

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

Property Details

The "expand" property

  "expand"                   gboolean              : Read / Write

Allocate the child extra space.

Default value: FALSE


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