Dialog¶
- class DialogState()¶
A
Deferred.Deferred()that wraps a pending dialog status.Deferred is resolved (or rejected) once the dialog gets user response.
This object should not be directly created but is returned by
Dialog.create()function.
- Dialog.create(owner, component, args)¶
- Arguments
owner (
Item()) – Owner objectcomponent (
Component()) – Dialog component to createargs (
object()) – Initial properties to set in the dialog
- Returns
Creates a new dialog, displays it to the user and returns its pending state.