class dialogs.Dialog(Widget)

The Dialog class provides a convenient container for implementing modal dialogs. Pressing Return or Enter dismisses the dialog with the value True, and pressing Escape dismisses it with the value False.

Dialogs default to having a solid grey background.

See the present() and dismiss() methods of class Widget for showing and dismissing the dialog.

---