MxTableChild

MxTableChild — The child property store for MxTable

Functions

Types and Values

Description

The ClutterChildMeta implementation for the MxTable container widget.

Functions

mx_table_child_get_column ()

gint
mx_table_child_get_column (MxTable *table,
                           ClutterActor *child);

Get the column of the child.

Parameters

table

an MxTable

 

child

a ClutterActor

 

Returns

the column of the child


mx_table_child_set_column ()

void
mx_table_child_set_column (MxTable *table,
                           ClutterActor *child,
                           gint col);

Set the column of the child

Parameters

table

a MxTable

 

child

a ClutterActor

 

col

the column of the child

 

mx_table_child_get_row ()

gint
mx_table_child_get_row (MxTable *table,
                        ClutterActor *child);

Get the row of the child.

Parameters

table

an MxTable

 

child

a ClutterActor

 

Returns

the row of the child


mx_table_child_set_row ()

void
mx_table_child_set_row (MxTable *table,
                        ClutterActor *child,
                        gint row);

Set the row of the child

Parameters

table

a MxTable

 

child

a ClutterActor

 

row

the row of the child

 

mx_table_child_get_column_span ()

gint
mx_table_child_get_column_span (MxTable *table,
                                ClutterActor *child);

Get the column span of the child. Defaults to 1.

Parameters

table

an MxTable

 

child

a ClutterActor

 

Returns

the column span of the child


mx_table_child_set_column_span ()

void
mx_table_child_set_column_span (MxTable *table,
                                ClutterActor *child,
                                gint span);

Set the column span of the child.

Parameters

table

An MxTable

 

child

An ClutterActor

 

span

The number of columns to span

 

mx_table_child_get_row_span ()

gint
mx_table_child_get_row_span (MxTable *table,
                             ClutterActor *child);

Get the row span of the child. Defaults to 1.

Parameters

table

A MxTable

 

child

A ClutterActor

 

Returns

the row span of the child


mx_table_child_set_row_span ()

void
mx_table_child_set_row_span (MxTable *table,
                             ClutterActor *child,
                             gint span);

Set the row span of the child.

Parameters

table

A MxTable

 

child

A ClutterActor

 

span

the number of rows to span

 

mx_table_child_get_x_fill ()

gboolean
mx_table_child_get_x_fill (MxTable *table,
                           ClutterActor *child);

Get the x-fill state of the child

Parameters

table

A MxTable

 

child

A ClutterActor

 

Returns

TRUE if the child is set to x-fill


mx_table_child_set_x_fill ()

void
mx_table_child_set_x_fill (MxTable *table,
                           ClutterActor *child,
                           gboolean fill);

Set the fill state of the child on the x-axis. This will cause the child to be allocated the maximum available space.

Parameters

table

A MxTable

 

child

A ClutterActor

 

fill

the fill state

 

mx_table_child_get_y_fill ()

gboolean
mx_table_child_get_y_fill (MxTable *table,
                           ClutterActor *child);

Get the y-fill state of the child

Parameters

table

A MxTable

 

child

A ClutterActor

 

Returns

TRUE if the child is set to y-fill


mx_table_child_set_y_fill ()

void
mx_table_child_set_y_fill (MxTable *table,
                           ClutterActor *child,
                           gboolean fill);

Set the fill state of the child on the y-axis. This will cause the child to be allocated the maximum available space.

Parameters

table

A MxTable

 

child

A ClutterActor

 

fill

the fill state

 

mx_table_child_get_x_expand ()

gboolean
mx_table_child_get_x_expand (MxTable *table,
                             ClutterActor *child);

Get the x-expand property of the child

Parameters

table

A MxTable

 

child

A ClutterActor

 

Returns

TRUE if the child is set to x-expand


mx_table_child_set_x_expand ()

void
mx_table_child_set_x_expand (MxTable *table,
                             ClutterActor *child,
                             gboolean expand);

Set x-expand on the child. This causes the column which the child resides in to be allocated any extra space if the allocation of the table is larger than the preferred size.

Parameters

table

A MxTable

 

child

A ClutterActor

 

expand

the new value of the x expand child property

 

mx_table_child_get_y_expand ()

gboolean
mx_table_child_get_y_expand (MxTable *table,
                             ClutterActor *child);

Get the y-expand property of the child.

Parameters

table

A MxTable

 

child

A ClutterActor

 

Returns

TRUE if the child is set to y-expand


mx_table_child_set_y_expand ()

void
mx_table_child_set_y_expand (MxTable *table,
                             ClutterActor *child,
                             gboolean expand);

Set y-expand on the child. This causes the row which the child resides in to be allocated any extra space if the allocation of the table is larger than the preferred size.

Parameters

table

A MxTable

 

child

A ClutterActor

 

expand

the new value of the y-expand child property

 

mx_table_child_get_x_align ()

MxAlign
mx_table_child_get_x_align (MxTable *table,
                            ClutterActor *child);

Get the x-align value of the child

Parameters

table

A MxTable

 

child

A ClutterActor

 

Returns

An MxAlign value


mx_table_child_set_x_align ()

void
mx_table_child_set_x_align (MxTable *table,
                            ClutterActor *child,
                            MxAlign align);

Set the alignment of the child within its cell. This will only have an effect if the the x-fill property is FALSE.

Parameters

table

A MxTable

 

child

A ClutterActor

 

align

A MxAlign value

 

mx_table_child_get_y_align ()

MxAlign
mx_table_child_get_y_align (MxTable *table,
                            ClutterActor *child);

Get the y-align value of the child

Parameters

table

A MxTable

 

child

A ClutterActor

 

Returns

An MxAlign value


mx_table_child_set_y_align ()

void
mx_table_child_set_y_align (MxTable *table,
                            ClutterActor *child,
                            MxAlign align);

Set the value of the y-align property. This will only have an effect if y-fill value is set to FALSE.

Parameters

table

A MxTable

 

child

A ClutterActor

 

align

A MxAlign value

 

Types and Values

struct MxTableChildClass

struct MxTableChildClass {
  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);
};