Skip to main content

paint_slot

Function paint_slot 

Source
pub fn paint_slot(
    ui: &Ui,
    rect: Rect,
    busy: bool,
    icon: Option<Icon>,
    enabled: bool,
)
Expand description

Paints a control’s icon slot: a spinner while busy, else its icon.