Classes
ToolkitDialog | A base class for defining toolkit dialogs. |
Bases: enaml.widgets.toolkit_object.ToolkitObject
A base class for defining toolkit dialogs.
A toolkit dialog is a dialog where the content is defined by the toolkit rather than the user. Customary examples would be a file dialog or a color selection dialog, where the implementation can often be a native operating system dialog.
The title of the dialog window.
An optional callback which will be invoked when the dialog is closed. This is a convenience to make it easier to handle a dialog opened in non-blocking mode. The callback must accept a single argument, which will be the dialog instance.
Whether to destroy the dialog widget on close. The default is True since dialogs are typically used in a transitory fashion.
An event fired if the dialog is accepted. It has no payload.
An event fired when the dialog is rejected. It has no payload.
An event fired when the dialog is finished. The payload is the boolean result of the dialog.
Whether or not the dialog was accepted by the user. It will be updated when the dialog is closed. This value is output only.
A reference to the ProxyToolkitDialog object.