Top | ![]() |
![]() |
![]() |
![]() |
guint | col-spacing | Read / Write |
gboolean | homogeneous | Read / Write |
guint | row-spacing | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── ExoWrapTable
The ExoWrapTable class layouts its children automatically according to the available width allocated to the container class.
GtkWidget *
exo_wrap_table_new (gboolean homogeneous
);
Allocates a new 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
.
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
.
Since: 0.3.1
guint
exo_wrap_table_get_row_spacing (const ExoWrapTable *table
);
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
.
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.
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.
table |
an ExoWrapTable. |
|
homogeneous |
Set to |
Since: 0.3.1
struct ExoWrapTable;
The ExoWrapTable struct contains only private fields and should not be directly accessed.
“col-spacing”
property“col-spacing” guint
The amount of space between two consecutive columns.
Flags: Read / Write
Default value: 0
“homogeneous”
property“homogeneous” gboolean
Whether the children should be all the same size.
Flags: Read / Write
Default value: FALSE
“row-spacing”
property“row-spacing” guint
The amount of space between two consecutive rows.
Flags: Read / Write
Default value: 0