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