pub fn dialog(
ui: &mut Ui,
title: &str,
primary: &str,
secondary: &str,
width: f32,
contents: impl FnOnce(&mut Ui),
) -> DialogOutputExpand description
The dialog look: the medium shadow, a title row, the content, and a footer
with the primary button on the right and the secondary to its left. Drawn
in place (the gallery, and the body of an egui::Window in step 4).