![]() |
![]() |
![]() |
Mx Toolkit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
MxTableChildMxTableChild — The child property store for MxTable |
MxTableChild; gint mx_table_child_get_column (MxTable *table
,ClutterActor *child
); void mx_table_child_set_column (MxTable *table
,ClutterActor *child
,gint col
); gint mx_table_child_get_row (MxTable *table
,ClutterActor *child
); void mx_table_child_set_row (MxTable *table
,ClutterActor *child
,gint row
); gint mx_table_child_get_column_span (MxTable *table
,ClutterActor *child
); void mx_table_child_set_column_span (MxTable *table
,ClutterActor *child
,gint span
); gint mx_table_child_get_row_span (MxTable *table
,ClutterActor *child
); void mx_table_child_set_row_span (MxTable *table
,ClutterActor *child
,gint span
); gboolean mx_table_child_get_x_fill (MxTable *table
,ClutterActor *child
); void mx_table_child_set_x_fill (MxTable *table
,ClutterActor *child
,gboolean fill
); gboolean mx_table_child_get_y_fill (MxTable *table
,ClutterActor *child
); void mx_table_child_set_y_fill (MxTable *table
,ClutterActor *child
,gboolean fill
); gboolean mx_table_child_get_x_expand (MxTable *table
,ClutterActor *child
); void mx_table_child_set_x_expand (MxTable *table
,ClutterActor *child
,gboolean expand
); gboolean mx_table_child_get_y_expand (MxTable *table
,ClutterActor *child
); void mx_table_child_set_y_expand (MxTable *table
,ClutterActor *child
,gboolean expand
); MxAlign mx_table_child_get_x_align (MxTable *table
,ClutterActor *child
); void mx_table_child_set_x_align (MxTable *table
,ClutterActor *child
,MxAlign align
); MxAlign mx_table_child_get_y_align (MxTable *table
,ClutterActor *child
); void mx_table_child_set_y_align (MxTable *table
,ClutterActor *child
,MxAlign align
);
"column" gint : Read / Write "column-span" gint : Read / Write "row" gint : Read / Write "row-span" gint : Read / Write "x-align" MxAlign : Read / Write "x-expand" gboolean : Read / Write "x-fill" gboolean : Read / Write "y-align" MxAlign : Read / Write "y-expand" gboolean : Read / Write "y-fill" gboolean : Read / Write
typedef struct _MxTableChild MxTableChild;
The contents of this structure is private and should only be accessed using the provided API.
gint mx_table_child_get_column (MxTable *table
,ClutterActor *child
);
Get the column of the child.
|
an MxTable |
|
a ClutterActor |
Returns : |
the column of the child |
void mx_table_child_set_column (MxTable *table
,ClutterActor *child
,gint col
);
Set the column of the child
|
a MxTable |
|
a ClutterActor |
|
the column of the child |
gint mx_table_child_get_row (MxTable *table
,ClutterActor *child
);
Get the row of the child.
|
an MxTable |
|
a ClutterActor |
Returns : |
the row of the child |
void mx_table_child_set_row (MxTable *table
,ClutterActor *child
,gint row
);
Set the row of the child
|
a MxTable |
|
a ClutterActor |
|
the row of the child |
gint mx_table_child_get_column_span (MxTable *table
,ClutterActor *child
);
Get the column span of the child. Defaults to 1.
|
an MxTable |
|
a ClutterActor |
Returns : |
the column span of the child |
void mx_table_child_set_column_span (MxTable *table
,ClutterActor *child
,gint span
);
Set the column span of the child.
|
An MxTable |
|
An ClutterActor |
|
The number of columns to span |
gint mx_table_child_get_row_span (MxTable *table
,ClutterActor *child
);
Get the row span of the child. Defaults to 1.
|
A MxTable |
|
A ClutterActor |
Returns : |
the row span of the child |
void mx_table_child_set_row_span (MxTable *table
,ClutterActor *child
,gint span
);
Set the row span of the child.
|
A MxTable |
|
A ClutterActor |
|
the number of rows to span |
gboolean mx_table_child_get_x_fill (MxTable *table
,ClutterActor *child
);
Get the x-fill state of the child
|
A MxTable |
|
A ClutterActor |
Returns : |
TRUE if the child is set to 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.
|
A MxTable |
|
A ClutterActor |
|
the fill state |
gboolean mx_table_child_get_y_fill (MxTable *table
,ClutterActor *child
);
Get the y-fill state of the child
|
A MxTable |
|
A ClutterActor |
Returns : |
TRUE if the child is set to 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.
|
A MxTable |
|
A ClutterActor |
|
the fill state |
gboolean mx_table_child_get_x_expand (MxTable *table
,ClutterActor *child
);
Get the x-expand property of the child
|
A MxTable |
|
A ClutterActor |
Returns : |
TRUE if the child is set to 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.
|
A MxTable |
|
A ClutterActor |
|
the new value of the x expand child property |
gboolean mx_table_child_get_y_expand (MxTable *table
,ClutterActor *child
);
Get the y-expand property of the child.
|
A MxTable |
|
A ClutterActor |
Returns : |
TRUE if the child is set to 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.
|
A MxTable |
|
A ClutterActor |
|
the new value of the y-expand child property |
MxAlign mx_table_child_get_x_align (MxTable *table
,ClutterActor *child
);
Get the x-align value of the child
|
A MxTable |
|
A ClutterActor |
Returns : |
An MxAlign value |
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.
|
A MxTable |
|
A ClutterActor |
|
A MxAlign value |
MxAlign mx_table_child_get_y_align (MxTable *table
,ClutterActor *child
);
Get the y-align value of the child
|
A MxTable |
|
A ClutterActor |
Returns : |
An MxAlign value |
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.
|
A MxTable |
|
A ClutterActor |
|
A MxAlign value |
"column"
property"column" gint : Read / Write
The column the widget resides in.
Allowed values: >= 0
Default value: 0
"column-span"
property"column-span" gint : Read / Write
The number of columns the widget should span.
Allowed values: >= 1
Default value: 1
"row"
property"row" gint : Read / Write
The row the widget resides in.
Allowed values: >= 0
Default value: 0
"row-span"
property"row-span" gint : Read / Write
The number of rows the widget should span.
Allowed values: >= 1
Default value: 1
"x-align"
property"x-align" MxAlign : Read / Write
X alignment of the widget within the cell.
Default value: MX_ALIGN_MIDDLE
"x-expand"
property"x-expand" gboolean : Read / Write
Whether the child should receive priority when the container is allocating spare space on the horizontal axis.
Default value: TRUE
"x-fill"
property"x-fill" gboolean : Read / Write
Whether the child should be allocated its entire available space, or whether it should be squashed and aligned.
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-expand"
property"y-expand" gboolean : Read / Write
Whether the child should receive priority when the container is allocating spare space on the vertical axis.
Default value: TRUE
"y-fill"
property"y-fill" gboolean : Read / Write
Whether the child should be allocated its entire available space, or whether it should be squashed and aligned.
Default value: TRUE