class dialogs.Dialog(Modal, 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.

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

Attributes

click_outside_response = None
If this attribute is given a non-None value, then a mouse-down event outside the bounds of the dialog will cause it to be dismissed with the given value.
---