TableView
Display multiple rows with any number of columns.
Category | refcounted |
Type | hime_table_view_t |
Inherits | hime_view_t |
Constructors
hime_table_view_t hime_table_view_create()
Create a new TableView.
Note that the TableView created this way is mostly used as list view,
to create a TableView with headers please use the CreateWithTable
constructor of ScrollView
instead.
Return
hime_table_view_t
Methods
void hime_table_view_set_columns(self, columns, columns_size)
Set the columns of the table.
Parameters
hime_table_view_t
selfhime_table_view_column_t*
columnssize_t
columns_size - Size of columns.
Return
void
void hime_table_view_set_model(self, model)
Set the table model used for displaying.
Parameters
hime_table_view_t
selfhime_table_model_t
model
Return
void
hime_table_model_t hime_table_view_get_model(self)
Return the table's model.
Parameters
hime_table_view_t
self
Return
hime_table_model_t