Function add_toolbar_button

Source
fn add_toolbar_button(
    ui: &mut Ui,
    msgs: &mut Vec<Message>,
    icon_string: &str,
    hover_text: &str,
    message: Message,
    enabled: bool,
)
Expand description

Helper function to add a new toolbar button, setting up icon, hover text etc.