diff options
Diffstat (limited to 'display-gtk.h')
-rw-r--r-- | display-gtk.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h index ad437465c..fe373a14f 100644 --- a/display-gtk.h +++ b/display-gtk.h @@ -33,4 +33,13 @@ extern GtkWidget *equipment_widget(void); extern GtkWidget *dive_list_create(void); +typedef void (*data_func_t)(GtkTreeViewColumn *col, + GtkCellRenderer *renderer, + GtkTreeModel *model, + GtkTreeIter *iter, + gpointer data); + +extern GtkTreeViewColumn *tree_view_column(GtkWidget *tree_view, int index, const char *title, + data_func_t data_func, PangoAlignment align, gboolean visible); + #endif |