Function tauri::api::dialog::ask [−][src]
pub fn ask<R: Runtime, F: FnOnce(bool) + Send + 'static>(
parent_window: Option<&Window<R>>,
title: impl AsRef<str>,
message: impl AsRef<str>,
f: F
)
Expand description
Displays a dialog with a message and an optional title with a “yes” and a “no” button.