Logo Search packages:      
Sourcecode: audit version File versions  Download package

def dialog_base::DialogBase::_validate_values (   self  )  [private]

Check whether the dialog state is a valid configuration.

Return True if it is valid.  Otherwise, display an error message and
return False.

Definition at line 62 of file dialog_base.py.

00062                               :
        '''Check whether the dialog state is a valid configuration.

        Return True if it is valid.  Otherwise, display an error message and
        return False.

        '''
        a = self._validate_get_failure()
        if a is None:
            return True
        (msg, page, widget) = a
        if self.__notebook_widget is not None:
            self.__notebook_widget.set_current_page(page)
        self._modal_error_dialog(msg)
        widget.grab_focus()
        return False

    def _modal_error_dialog(self, msg):


Generated by  Doxygen 1.6.0   Back to index