}
fn create_toolbar(app: &AppContext<MainWindow>) {
+ app.toolbar_item("new_notebook").icon("folder-new").action("new_notebook").create();
app.toolbar_item("go_back").icon("go-previous").action("go_back").create();
app.toolbar_item("go_forward").icon("go-next").action("go_forward").create();
app.toolbar_item("new_note").icon("document-new").action("new_note").create();
+ app.toolbar_add_default("new_notebook", ToolbarItemPosition::SidebarRight);
app.toolbar_add_default("go_back", ToolbarItemPosition::Left);
app.toolbar_add_default("go_forward", ToolbarItemPosition::Left);
app.toolbar_add_default("new_note", ToolbarItemPosition::Left);