Logo Search packages:      
Sourcecode: inkscape version File versions

GtkWidget* sp_ui_main_menubar ( Inkscape::UI::View::View view  ) 

Build the main tool bar.

view View to build the bar for
Currently the main tool bar is built as a dynamic XML menu using sp_ui_build_dyn_menus. This function builds the bar, and then pass it to get items attached to it.

Definition at line 975 of file interface.cpp.

References sp_ui_build_dyn_menus().

Referenced by sp_desktop_widget_new().

    GtkWidget *mbar = gtk_menu_bar_new();


    sp_ui_build_dyn_menus(inkscape_get_menus(INKSCAPE), mbar, view);

    return NULL;
    return mbar;

Generated by  Doxygen 1.6.0   Back to index