| St Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
enum StTableChildOptions; struct StTable; struct StTableClass; StWidget * st_table_new (void); gint st_table_get_row_count (StTable *table); gint st_table_get_column_count (StTable *table);
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.
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 |
struct StTable;
The contents of this structure is private and should only be accessed using the provided API.
gint st_table_get_row_count (StTable *table);
Retrieve the current number rows in the table
|
A StTable |
Returns : |
the number of rows |