[gtk-list] Re: Adding separators to menus?




just add a null item to the menu...

        menu_item=gtk_menu_item_new();
        gtk_menu_append(GTK_MENU(file_sub_menu),menu_item);
        gtk_widget_show(menu_item);

that's for "the hard way", for the menufactory, there's stuff in the faq

-Erik



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]