small change of main window API
[lttv.git] / ltt / branches / poly / include / lttv / toolbar.h
1 #ifndef TOOLBAR_H
2 #define TOOLBAR_H
3
4 #include <lttv/common.h>
5
6 /* constructor of the viewer */
7 //typedef GtkWidget* (*lttv_constructor)(void * main_window);
8
9
10 typedef GArray LttvToolbars;
11
12 typedef struct _lttv_toolbar_closure {
13 lttv_constructor con;
14 char * tooltip;
15 char ** pixmap;
16 } lttv_toolbar_closure;
17
18 LttvToolbars *lttv_toolbars_new();
19
20 void lttv_toolbars_destroy(LttvToolbars *h);
21
22 void lttv_toolbars_add(LttvToolbars *h, lttv_constructor f, char* tooltip, char ** pixmap);
23
24 gboolean lttv_toolbars_remove(LttvToolbars *h, lttv_constructor f);
25
26 unsigned lttv_toolbars_number(LttvToolbars *h);
27
28 #endif // TOOLBAR_H
This page took 0.028526 seconds and 4 git commands to generate.