gerbv  2.6A
table.h
Go to the documentation of this file.
1 
6 #ifndef TABLE_H
7 #define TABLE_H
8 
9 struct table {
10  GtkWidget *widget; /* All table */
11  GtkListStore *list_store;
12  GType *types; /* Column types array */
13  GtkCellRenderer **renderers; /* Column renderers pointers array */
14  gint column_nums; /* Column number */
15 };
16 
17 struct table *table_new_with_columns(gint col_nums, ...);
18 void table_destroy(struct table *table);
19 void table_set_sortable(struct table *table);
20 void table_set_column_align(struct table *table, gint column_num, gfloat align);
21 int table_add_row(struct table *table, ...);
22 
23 #endif /* TABLE_H */