git-svn-id: http://ltt.polymtl.ca/svn@447 04897980-b3bd-0310-b5e0-8ef037075253
[lttv.git] / ltt / branches / poly / include / lttv / menu.h
1 #ifndef MENU_H
2 #define MENU_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 LttvMenus;
11
12 typedef struct _lttv_menu_closure {
13 lttv_constructor con;
14 char * menuPath;
15 char * menuText;
16 } lttv_menu_closure;
17
18
19 LttvMenus *lttv_menus_new();
20
21 void lttv_menus_destroy(LttvMenus *h);
22
23 void lttv_menus_add(LttvMenus *h, lttv_constructor f, char* menuPath, char * menuText);
24
25 gboolean lttv_menus_remove(LttvMenus *h, lttv_constructor f);
26
27 unsigned lttv_menus_number(LttvMenus *h);
28
29 #endif // MENU_H
This page took 0.030308 seconds and 5 git commands to generate.