4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@users.sourceforge.net>.
11 extern GtkAccelGroup
*filer_keys
;
15 GtkItemFactory
*menu_create(GtkItemFactoryEntry
*def
, int n_entries
,
16 const gchar
*name
, GtkAccelGroup
*keys
);
17 void menu_set_items_shaded(GtkWidget
*menu
, gboolean shaded
, int from
, int n
);
18 void position_menu(GtkMenu
*menu
, gint
*x
, gint
*y
,
19 gboolean
*push_in
, gpointer data
);
20 void show_popup_menu(GtkWidget
*menu
, GdkEvent
*event
, int item
);
22 void ensure_filer_menu(void);
23 void show_filer_menu(FilerWindow
*filer_window
, GdkEvent
*event
, int item
);
24 void menu_popdown(void);
26 /* Public menu handlers */
27 void menu_rox_help(gpointer data
, guint action
, GtkWidget
*widget
);
28 void menu_show_options(gpointer data
, guint action
, GtkWidget
*widget
);
29 void open_home(gpointer data
, guint action
, GtkWidget
*widget
);
30 void menu_show_shift_action(GtkWidget
*menu_item
, DirItem
*item
, gboolean next
);