aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-popup-menu.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@src.gnome.org>2000-04-26 23:03:27 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2000-04-26 23:03:27 +0800
commit85eafe5cb2cf0d6c5aeff0cd97840be7e3911b46 (patch)
treeb160609d1d06969050c167b561dec9a1431c1453 /e-util/e-popup-menu.h
parent19de6b40b6a2a399c317728d304c0b005c7ceb0b (diff)
downloadgsoc2013-evolution-85eafe5cb2cf0d6c5aeff0cd97840be7e3911b46.tar.gz
gsoc2013-evolution-85eafe5cb2cf0d6c5aeff0cd97840be7e3911b46.tar.zst
gsoc2013-evolution-85eafe5cb2cf0d6c5aeff0cd97840be7e3911b46.zip
add e-popup-menu.[ch]
svn path=/trunk/; revision=2635
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 */