aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-popup-menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-popup-menu.h')
-rw-r--r--e-util/e-popup-menu.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/e-util/e-popup-menu.h b/e-util/e-popup-menu.h
new file mode 100644
index 0000000000..400e6987b7
--- /dev/null
+++ b/e-util/e-popup-menu.h
@@ -0,0 +1,16 @@
+#ifndef E_POPUP_MENU_H
+#define E_POPUP_MENU_H
+
+#include <gtk/gtkwidget.h>
+
+typedef struct {
+ char const * const name;
+ char const * const pixname;
+ void (*fn)(GtkWidget *widget, void *closure);
+ int disable_mask;
+} EPopupMenu;
+
+void e_popup_menu_run (EPopupMenu *menu_list, GdkEventButton *event,
+ int disable_mask, void *closure);
+
+#endif /* E_POPUP_MENU_H */