예제 #1
0
파일: i_window.py 프로젝트: zyex1108/pyface
    def confirm(self, message, title=None, cancel=False, default=NO):
        """ Convenience method to show a confirmation dialog.

        Parameters
        ----------
        message : str
            The text of the message to display.
        title : str
            The text of the dialog title.
        cancel : bool
            ``True`` if the dialog should contain a Cancel button.
        default : NO, YES or CANCEL
            Which button should be the default button.
        """
        from confirmation_dialog import confirm

        return confirm(self.control, message, title, cancel, default)
예제 #2
0
    def confirm(self, message, title=None, cancel=False, default=NO):
        """ Convenience method to show a confirmation dialog. """

        from confirmation_dialog import confirm

        return confirm(self.control, message, title, cancel, default)
예제 #3
0
파일: i_window.py 프로젝트: jdmarch/pyface
    def confirm(self, message, title=None, cancel=False, default=NO):
        """ Convenience method to show a confirmation dialog. """

        from confirmation_dialog import confirm

        return confirm(self.control, message, title, cancel, default)