aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/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
nowrap'>Commit message (Expand)AuthorAgeFilesLines * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-5/+2 * The vast majority of pkg-descr files had the following format when theydougb2011-10-241-3/+3