MxBoxLayoutChild

MxBoxLayoutChild — meta data associated with a MxBoxLayout child.

Functions

Properties

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

Types and Values

Object Hierarchy

    GObject
    ╰── ClutterChildMeta
        ╰── MxBoxLayoutChild

Description

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

Functions

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

Parameters

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.

Parameters

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.

Parameters

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.

Parameters

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

Parameters

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.

Parameters

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

Parameters

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.

Parameters

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.

Parameters

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.

Parameters

box_layout

An MxBoxLayout

 

child

A ClutterActor

 

y_align

An MxAlign

 

Types and Values

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

Property Details

The “expand” property

  “expand”                   gboolean

Allocate the child extra space.

Flags: Read / Write

Default value: FALSE


The “x-align” property

  “x-align”                  MxAlign

X alignment of the widget within the cell.

Flags: Read / Write

Default value: MX_ALIGN_MIDDLE


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


The “y-align” property

  “y-align”                  MxAlign

Y alignment of the widget within the cell.

Flags: Read / Write

Default value: MX_ALIGN_MIDDLE


The “y-fill” property

  “y-fill”                   gboolean

Whether the child should receive priority when the container is allocating spare space on the vertical axis.

Flags: Read / Write

Default value: TRUE