aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-popup-menu.h
blob: 400e6987b7a7526996b89f5f3e955132d918564e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 */