aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/popup-menu.h
blob: a4590dbb98c09dfcb77206b9b949179c9e1a78ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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