Skip to main content

alert

Function alert 

Source
pub fn alert(
    window: &WindowRef,
    alert: Alert,
    on_response: impl FnOnce(usize) + 'static,
)
Expand description

Shows alert as a sheet on window; on_response gets the index of the button chosen.