pub fn toolbar(items: Vec<ToolbarEntry>)Expand description
Install the toolbar on the window being built — the primary window at startup, and the new
window inside a register_new_window builder. Replaces any previous toolbar on that window;
an empty items removes it. Add or remove an item by calling this again with a different
list, or use toolbar_reactive to keep the list derived from state.
Labels resolve once, in the install-time locale; an app whose language can change at runtime
should use toolbar_reactive.