r350: Selecting panel icons now grabs the primary selection. Pasting pastes all
[rox-filer.git] / ROX-Filer / src / menu.h
blob12a0c3677898eed4c0a8af0d7325104e7adba791
1 /*
2 * $Id$
4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@users.sourceforge.net>.
6 */
8 #ifndef _MENU_H
9 #define _MENU_H
11 #define MENU_MARGIN 32
13 extern GtkAccelGroup *filer_keys;
14 extern GtkWidget *popup_menu;
15 extern char *xterm_here_value;
17 void menu_init(void);
19 GtkWidget *create_menu_options(void);
20 void menu_update_options(void);
21 void menu_set_options(void);
22 void menu_save_options(void);
24 void show_pinboard_menu(GdkEventButton *event, PinIcon *icon);
25 void show_filer_menu(FilerWindow *filer_window, GdkEventButton *event,
26 int item);
27 GtkWidget *menu_create(GtkItemFactoryEntry *def, int n_entries, guchar *name);
28 void menu_set_items_shaded(GtkWidget *menu, gboolean shaded, int from, int n);
30 /* Public menu handlers */
31 void menu_rox_help(gpointer data, guint action, GtkWidget *widget);
32 void menu_show_options(gpointer data, guint action, GtkWidget *widget);
34 #endif /* _MENU_H */