pyface.i_confirmation_dialog module¶
The interface for a dialog that prompts the user for confirmation.
- class pyface.i_confirmation_dialog.IConfirmationDialog(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]¶
- Bases: - IDialog- The interface for a dialog that prompts the user for confirmation. - cancel = Bool(False)¶
- Should the cancel button be displayed? 
 - default = Enum(NO, YES, CANCEL)¶
- The default button. 
 - image = Image()¶
- The image displayed with the message. The default is toolkit specific. 
 - message = Str()¶
- The message displayed in the body of the dialog (use the inherited ‘title’ trait to set the title of the dialog itself). 
 - informative = Str()¶
- Some informative text to display below the main message 
 - detail = Str()¶
- Some additional details that can be exposed by the user 
 - no_label = Str()¶
- The label for the ‘no’ button. The default is toolkit specific. 
 - yes_label = Str()¶
- The label for the ‘yes’ button. The default is toolkit specific. 
 
