pyface.i_message_dialog module

The interface for a dialog that displays a message.

class pyface.i_message_dialog.IMessageDialog(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]

Bases: pyface.i_dialog.IDialog

The interface for a dialog that displays a message.

message = Str()

The message to display in the dialog.

informative = Str()

More information about the message to be displayed.

detail = Str()

More detail about the message to be displayed in the dialog.

severity = Enum("information", "warning", "error")

The severity of the message.

class pyface.i_message_dialog.MMessageDialog[source]

Bases: traits.has_traits.HasTraits

The mixin class that contains common code for toolkit specific implementations of the IMessageDialog interface.