Function icon_button

Source
pub(crate) fn icon_button(
    ui: &mut Ui,
    palette: &Palette,
    id: Id,
    icon: Glyph,
    tip: &str,
    active: bool,
) -> Response
Expand description

Bare square icon button: accent fill when active, a hover outline otherwise.