blob: 7039d59835cdf3e7f5e0cdfdcb8c9793cea07a55 (
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
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef E_POPUP_MENU_H
#define E_POPUP_MENU_H
#include <gtk/gtkwidget.h>
typedef struct {
char *name;
char *pixname;
void (*fn) (GtkWidget *widget, void *closure);
int disable_mask;
} EPopupMenu;
GtkMenu *e_popup_menu_create (EPopupMenu *menu_list,
int disable_mask,
int hide_mask,
void *closure);
void e_popup_menu_run (EPopupMenu *menu_list,
GdkEventButton *event,
int disable_mask,
int hide_mask,
void *closure);
#endif /* E_POPUP_MENU_H */
|