--- np2/x11/gtk/Attic/gtkmenu.h 2003/11/16 16:43:45 1.1 +++ np2/x11/gtk/Attic/gtkmenu.h 2003/11/28 16:29:57 1.2 @@ -28,6 +28,10 @@ #ifndef NP2_GTK_GTKMENU_H__ #define NP2_GTK_GTKMENU_H__ +typedef struct { + GtkItemFactory *item_factory; +} _MENU_HDL, *MENU_HDL; + enum { DISP_VSYNC, REAL_PALETTES, @@ -51,6 +55,7 @@ enum { GtkWidget *create_menu(GtkWidget *); void xmenu_toggle_item(int, int, int); +void xmenu_select_item(MENU_HDL, const char *); typedef BOOL file_selection_ok_callback(void *arg, const char *path); typedef void file_selection_destrroy_callback(void *arg, BOOL result);