Skip to main content

toolbar_btn

Function toolbar_btn 

Source
pub fn toolbar_btn<'a>(
    icon_widget: impl Into<Element<'a, Message>>,
    label: &'a str,
    msg: Message,
) -> Button<'a, Message>
Expand description

A toolbar button with an icon and label text. Used in the header toolbar for Refresh, Open, Close, etc.