aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/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 /widgets/misc/e-popup-menu.h
parent19de6b40b6a2a399c317728d304c0b005c7ceb0b (diff)
downloadgsoc2013-evolution-85eafe5cb2cf0d6c5aeff0cd97840be7e3911b46.tar
gsoc2013-evolution-85eafe5cb2cf0d6c5aeff0cd97840be7e3911b46.tar.gz
gsoc2013-evolution-85eafe5cb2cf0d6c5aeff0cd97840be7e3911b46.tar.bz2
gsoc2013-evolution-85eafe5cb2cf0d6c5aeff0cd97840be7e3911b46.tar.lz
gsoc2013-evolution-85eafe5cb2cf0d6c5aeff0cd97840be7e3911b46.tar.xz
gsoc2013-evolution-85eafe5cb2cf0d6c5aeff0cd97840be7e3911b46.tar.zst
gsoc2013-evolution-85eafe5cb2cf0d6c5aeff0cd97840be7e3911b46.zip
add e-popup-menu.[ch]
svn path=/trunk/; revision=2635
Diffstat (limited to 'widgets/misc/e-popup-menu.h')
-rw-r--r--widgets/misc/e-popup-menu.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/widgets/misc/e-popup-menu.h b/widgets/misc/e-popup-menu.h
new file mode 100644
index 0000000000..400e6987b7
--- /dev/null
+++ b/widgets/misc/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 */