projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
toolbar menus now add/remove symmetrical
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
lttvwindow
/
lttvwindow
/
menu.h
diff --git
a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.h
b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.h
index 3253bf7500c11c13fab5c726d74fc2f96a59e96b..952720e0f5459bc1eeee631536a6adccadafff5c 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.h
+++ b/
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.h
@@
-20,27
+20,26
@@
#define MENU_H
#include <lttvwindow/common.h>
#define MENU_H
#include <lttvwindow/common.h>
-
-/* constructor of the viewer */
-//typedef GtkWidget* (*lttv_constructor)(void * main_window);
+#include <gtk/gtk.h>
typedef GArray LttvMenus;
typedef GArray LttvMenus;
-typedef struct _
lttv_menu_c
losure {
- lttv_constructor con;
+typedef struct _
LttvMenuC
losure {
+ lttv
window_viewer
_constructor con;
char * menuPath;
char * menuText;
char * menuPath;
char * menuText;
-} lttv_menu_closure;
+ GtkWidget *widget;
+} LttvMenuClosure;
LttvMenus *lttv_menus_new();
void lttv_menus_destroy(LttvMenus *h);
LttvMenus *lttv_menus_new();
void lttv_menus_destroy(LttvMenus *h);
-void lttv_menus_add(LttvMenus *h, lttv
_constructor f, char* menuPath, char * menuTex
t);
+void lttv_menus_add(LttvMenus *h, lttv
window_viewer_constructor f, char* menuPath, char * menuText, GtkWidget *widge
t);
-gboolean lttv_menus_remove(LttvMenus *h, lttv_constructor f);
+gboolean lttv_menus_remove(LttvMenus *h, lttv
window_viewer
_constructor f);
unsigned lttv_menus_number(LttvMenus *h);
unsigned lttv_menus_number(LttvMenus *h);
This page took
0.024672 seconds
and
4
git commands to generate.