![]() |
![]() |
![]() |
exo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include <exo/exo.h> ExoWrapTable; GtkWidget * exo_wrap_table_new (gboolean homogeneous); guint exo_wrap_table_get_col_spacing (const ExoWrapTable *table); void exo_wrap_table_set_col_spacing (ExoWrapTable *table, guint col_spacing); guint exo_wrap_table_get_row_spacing (const ExoWrapTable *table); void exo_wrap_table_set_row_spacing (ExoWrapTable *table, guint row_spacing); gboolean exo_wrap_table_get_homogeneous (const ExoWrapTable *table); void exo_wrap_table_set_homogeneous (ExoWrapTable *table, gboolean homogeneous);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----ExoWrapTable
"col-spacing" guint : Read / Write "homogeneous" gboolean : Read / Write "row-spacing" guint : Read / Write
The ExoWrapTable class layouts its children automatically according to the available width allocated to the container class.
typedef struct _ExoWrapTable ExoWrapTable;
The ExoWrapTable struct contains only private fields and should not be directly accessed.
Since 0.3.1
GtkWidget * exo_wrap_table_new (gboolean homogeneous);
Allocates a new ExoWrapTable.
|
TRUE if all children are to be given equal space allotments.
|
Returns : |
the newly allocated ExoWrapTable. |
Since 0.3.1
guint exo_wrap_table_get_col_spacing (const ExoWrapTable *table);
Returns the amount of space between consecutive
columns in table
.
|
an ExoWrapTable. |
Returns : |
the amount of space between consecutive columns. |
Since 0.3.1
void exo_wrap_table_set_col_spacing (ExoWrapTable *table, guint col_spacing);
Sets the amount of space between consecutive
columns in table
to col_spacing
.
|
an ExoWrapTable. |
|
the new column spacing. |
Since 0.3.1
guint exo_wrap_table_get_row_spacing (const ExoWrapTable *table);
Returns the amount of space between consecutive
rows in table
.
|
an ExoWrapTable. |
Returns : |
the amount of space between
consecutive rows in table .
|
Since 0.3.1
void exo_wrap_table_set_row_spacing (ExoWrapTable *table, guint row_spacing);
Sets the amount of spacing between consecutive
rows in table
to row_spacing
.
|
an ExoWrapTable. |
|
the new row spacing. |
Since 0.3.1
gboolean exo_wrap_table_get_homogeneous (const ExoWrapTable *table);
Returns whether the table cells are all constrained to the same width and height.
|
an ExoWrapTable. |
Returns : |
TRUE if the cells are all constrained
to the same size.
|
Since 0.3.1
void exo_wrap_table_set_homogeneous (ExoWrapTable *table, gboolean homogeneous);
Changes the homogenous property of table
cells, ie. whether all cells
are an equal size or not.
|
an ExoWrapTable. |
|
Set to TRUE to ensure all table cells are the same size.
Set to FALSE if this is not your desired behaviour.
|
Since 0.3.1