aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/popup-menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/popup-menu.h')
-rw-r--r--calendar/popup-menu.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/calendar/popup-menu.h b/calendar/popup-menu.h
new file mode 100644
index 0000000000..a4590dbb98
--- /dev/null
+++ b/calendar/popup-menu.h
@@ -0,0 +1,25 @@
+/* Popup menu utilities for gncal
+ *
+ * Copyright (C) 1998 The Free Software Foundation
+ *
+ * Author: Federico Mena <quartic@gimp.org>
+ */
+
+#ifndef POPUP_MENU_H
+#define POPUP_MENU_H
+
+#include <gdk/gdktypes.h>
+#include <gtk/gtksignal.h>
+
+
+struct menu_item {
+ char *text;
+ GtkSignalFunc callback;
+ gpointer data;
+ int sensitive;
+};
+
+void popup_menu (struct menu_item *items, int nitems, GdkEventButton *event);
+
+
+#endif