def confirm(self, message, title=None, cancel=False, default=NO):

        return self.active_window.confirm(message, title, cancel, default)
Convenience method to show a confirmation dialog.
dataset/ETHPy150Open enthought/pyface/pyface/workbench/workbench.py/Workbench.confirm