Skip to main content

dialog

Function dialog 

Source
pub fn dialog<'a>(id: impl Into<WidgetId>, rect: Rect) -> DialogBuilder<'a>
Expand description

A dialog in rect. Close is "{id}:close" (reported as clicked), footer buttons "{id}:footer:{i}" (reported as index; the first is primary). The app decides whether either closes it.