aboutsummaryrefslogtreecommitdiff
path: root/module/appmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'module/appmenu.h')
-rw-r--r--module/appmenu.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/module/appmenu.h b/module/appmenu.h
new file mode 100644
index 0000000..e02f68c
--- /dev/null
+++ b/module/appmenu.h
@@ -0,0 +1,21 @@
+#ifndef _APPMENU_H_
+#define _APPMENU_H_
+
+#include <gtk/gtk.h>
+
+typedef struct _AppMenu
+{
+ GtkMenu *menu;
+ GtkMenuItem *about_item;
+ GtkMenuItem *prefs_item;
+ GtkMenuItem *sep1_item;
+ GtkMenuItem *quit_item;
+} AppMenu;
+
+GtkWidget * topmenu_appmenu_build(AppMenu *appmenu);
+
+void topmenu_appmenu_scan_for_items(AppMenu *self, GtkMenuShell *menu_shell);
+
+void topmenu_appmenu_destroy(AppMenu *self);
+
+#endif