![]() |
![]() |
![]() |
St Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct StTable; enum StTableChildOptions; struct StTableClass; gint st_table_get_column_count (StTable *table
); gint st_table_get_row_count (StTable *table
); StWidget * st_table_new (void
);
StTable implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
StTable is a mult-child layout container based on a table arrangement with rows and columns. StTable adds several child properties to it's children that control their position and size in the table.
struct StTable;
The contents of this structure is private and should only be accessed using the provided API.
typedef enum { ST_KEEP_ASPECT_RATIO = 1 << 0, ST_X_EXPAND = 1 << 1, ST_Y_EXPAND = 1 << 2, ST_X_FILL = 1 << 3, ST_Y_FILL = 1 << 4 } StTableChildOptions;
Denotes the child properties an StTable child will have.
whether to respect the widget's aspect ratio | |
whether to allocate extra space on the widget's x-axis | |
whether to allocate extra space on the widget's y-axis | |
whether to stretch the child to fill the cell horizontally | |
whether to stretch the child to fill the cell vertically |
gint st_table_get_column_count (StTable *table
);
Retrieve the current number of columns in table
|
A StTable |
Returns : |
the number of columns |
gint st_table_get_row_count (StTable *table
);
Retrieve the current number rows in the table
|
A StTable |
Returns : |
the number of rows |