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 object

  • component (Component()) – Dialog component to create

  • args (object()) – Initial properties to set in the dialog

Returns

a DialogState()

Creates a new dialog, displays it to the user and returns its pending state.