projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo
[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 ae519785c94646a71c544860f109f19630dfffc3..87ccdee45babc8311805d2c0f2e542e778d43e76 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.h
+++ b/
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.h
@@
-19,24
+19,27
@@
#ifndef MENU_H
#define MENU_H
#ifndef MENU_H
#define MENU_H
-#include <lttvwindow/common.h>
+#include <gtk/gtk.h>
+#include <lttvwindow/lttvwindow.h>
+
typedef GArray LttvMenus;
typedef GArray LttvMenus;
-typedef struct _
lttv_menu_c
losure {
+typedef struct _
LttvMenuC
losure {
lttvwindow_viewer_constructor con;
lttvwindow_viewer_constructor con;
- char * menuPath;
- char * menuText;
-} lttv_menu_closure;
+ char * menu_path;
+ char * menu_text;
+ 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, lttvwindow_viewer_constructor f, char* menuPath, char * menuTex
t);
+
LttvMenuClosure lttv_menus_add(LttvMenus *h, lttvwindow_viewer_constructor f, char* menuPath, char * menuText, GtkWidget *widge
t);
-
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);
unsigned lttv_menus_number(LttvMenus *h);
This page took
0.026888 seconds
and
4
git commands to generate.