diff options
author | Javier <dev.git@javispedro.com> | 2014-01-28 16:50:47 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2014-01-28 16:50:47 +0100 |
commit | c2d6d46b9ca89cb1c0729ee599c3566d3d1e7cf7 (patch) | |
tree | 7e1e2285437816c06ac884d68284d854413cf41e /module/appmenu.h | |
download | topmenu-gtk-c2d6d46b9ca89cb1c0729ee599c3566d3d1e7cf7.tar.gz topmenu-gtk-c2d6d46b9ca89cb1c0729ee599c3566d3d1e7cf7.zip |
initial import
Diffstat (limited to 'module/appmenu.h')
-rw-r--r-- | module/appmenu.h | 21 |
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 |