Exemplo n.º 1
0
    def warning(self, message, title='Warning', detail='', informative=''):
        """ Convenience method to show a warning message dialog.

        Parameters
        ----------
        message : str
            The text of the message to display.
        title : str
            The text of the dialog title.
        detail : str
            Further details about the message.
        informative : str
            Explanatory text to display along with the message.

        """
        from message_dialog import warning

        warning(self.control, message, title, detail, informative)
Exemplo n.º 2
0
    def warning(self, message, title='Warning'):
        """ Convenience method to show a warning message dialog.

        Parameters
        ----------
        message : str
            The text of the message to display.
        title : str
            The text of the dialog title.
        """
        from message_dialog import warning

        return warning(self.control, message, title)
Exemplo n.º 3
0
    def warning(self, message, title='Warning'):
        """ Convenience method to show a warning message dialog. """

        from message_dialog import warning

        return warning(self.control, message, title)
Exemplo n.º 4
0
    def warning(self, message, title='Warning'):
        """ Convenience method to show a warning message dialog. """

        from message_dialog import warning

        return warning(self.control, message, title)