Inheritance diagram for Table:
Public Member Functions | |
this (int rows, int cols, bit homogeneous) | |
Creates a table with a defined number of rows and columns and defines it all the cells will be of the same size. | |
void | resize (int rows, int columns) |
Change the size of the table's grid. | |
void | removeAll () |
Removes all children and resizes the table to 1,1. | |
void | attach (Widget child, int left, int right, int top, int bottom, AttachOptions xoptions, AttachOptions yoptions, int xpadding, int ypadding) |
Adds a widget to the table. | |
void | attach (Widget child, int left, int right, int top, int bottom) |
Adds a widget to the table. | |
void | setRowSpacing (int row, int spacing) |
Sets the number of pixels between each widget on a spefic row of the table. | |
int | getRowSpacing (int row) |
Gets the spacing for a row. | |
void | setColSpacing (int column, int spacing) |
Sets the number of pixels between each widget on a spefic column of the table. | |
int | getColSpacing (int column) |
Gets the spacing for a column. | |
void | setRowSpacings (int spacing) |
Sets the default row spacing. | |
int | getDefaultRowSpacing () |
Gets the default row spacing. | |
void | setColSpacings (int spacing) |
Sets the default column spacing. | |
int | getDefaultColSpacing () |
Gets the default column spacing. | |
void | setHomogeneous (int homogeneous) |
Sets if the table cells are homogeneous in size. | |
bit | getHomogeneous () |
Checks if the table cells are homogeneous in size. | |
void | attach (Widget child) |
Attach a new widget creating a new row if necessary. | |
Static Public Member Functions | |
GType | getType () |
Gets this class type. |
|
Attach a new widget creating a new row if necessary.
|
|
Adds a widget to the table.
|
|
Adds a widget to the table.
|
|
Gets the spacing for a column.
|
|
Gets the default column spacing.
|
|
Gets the default row spacing.
|
|
Checks if the table cells are homogeneous in size.
|
|
Gets the spacing for a row.
|
|
Gets this class type.
Reimplemented from Widget. |
|
Removes all children and resizes the table to 1,1.
Reimplemented from Container. |
|
Change the size of the table's grid.
|
|
Sets the number of pixels between each widget on a spefic column of the table.
|
|
Sets the default column spacing.
|
|
Sets if the table cells are homogeneous in size.
|
|
Sets the number of pixels between each widget on a spefic row of the table.
|
|
Sets the default row spacing.
|
|
Creates a table with a defined number of rows and columns and defines it all the cells will be of the same size. NOTE: seams that cells can be added beyond the initial size without the need to resize
|