Hi,

In my app I have built a main menu using GtkItemFactory, i.e. like this:

static GtkItemFactoryEntry main_menu_items[] = {
        {"/_File", NULL, NULL, 0, "<Branch>", NULL},
        {"/File/New", "N", menu, 50, "<StockItem>", GTK_STOCK_NEW},
        {"/File/Open", "O", menu, 51, "<StockItem>", GTK_STOCK_OPEN},
        ...etc
        
What I want to know:

How do I add new menu items at runtime? For example I want to add a open
recent document menu.

Thanks
-- 
Daniel Pekelharing

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to