Skip to main content

button

Function button 

Source
pub fn button(
    ui: &mut Ui,
    side: f32,
    icon: Icon,
    name: &str,
    on: bool,
) -> Response
Expand description

A square icon button of a band, side points wide, named name (for assistive technology and its tooltip), drawn by the kit’s band-icon-button: selected when on (a pinned palette), the icon in its state’s text.