basic lttvwindow works
[lttv.git] / ltt / branches / poly / lttv / modules / gui / lttvwindow / lttvwindow / menu.h
index 952720e0f5459bc1eeee631536a6adccadafff5c..87ccdee45babc8311805d2c0f2e542e778d43e76 100644 (file)
 #ifndef MENU_H
 #define MENU_H
 
-#include <lttvwindow/common.h>
 #include <gtk/gtk.h>
+#include <lttvwindow/lttvwindow.h>
 
 
 typedef GArray LttvMenus;
 
 typedef struct _LttvMenuClosure {
   lttvwindow_viewer_constructor con;
-  char * menuPath;
-  char * menuText;
+  char * menu_path;
+  char * menu_text;
   GtkWidget *widget;
 } LttvMenuClosure;
 
@@ -37,9 +37,9 @@ LttvMenus *lttv_menus_new();
 
 void lttv_menus_destroy(LttvMenus *h);
 
-void lttv_menus_add(LttvMenus *h, lttvwindow_viewer_constructor f, char* menuPath, char * menuText, GtkWidget *widget);
+LttvMenuClosure lttv_menus_add(LttvMenus *h, lttvwindow_viewer_constructor f, char* menuPath, char * menuText, GtkWidget *widget);
 
-gboolean lttv_menus_remove(LttvMenus *h, lttvwindow_viewer_constructor f);
+GtkWidget *lttv_menus_remove(LttvMenus *h, lttvwindow_viewer_constructor f);
 
 unsigned lttv_menus_number(LttvMenus *h);
 
This page took 0.023432 seconds and 4 git commands to generate.