Exemple #1
0
 def doModal(self):
     self._confirmed = False
     try:
         self._input = get_value(self._heading, self._default, hidden=self._hidden)
         self._confirmed = True
     except (KeyboardInterrupt, EOFError):
         pass
Exemple #2
0
 def doModal(self):
     self._confirmed = False
     try:
         self._input = get_value(self._heading, self._default, hidden=self._hidden)
         self._confirmed = True
     except (KeyboardInterrupt, EOFError):
         pass
    def doModal(self):
        """Show keyboard and wait for user action.

        autoclose: integer - milliseconds to autoclose dialog.

        Note:
            autoclose = 0 - This disables autoclose

        Example:
            kb.doModal(30000)
        """
        self._confirmed = False
        try:
            self._input = get_value(self._heading, self._default, hidden=self._hidden)
            self._confirmed = True
        except (KeyboardInterrupt, EOFError):
            pass
    def doModal(self):
        """Show keyboard and wait for user action.

        autoclose: integer - milliseconds to autoclose dialog.

        Note:
            autoclose = 0 - This disables autoclose

        Example:
            kb.doModal(30000)
        """
        self._confirmed = False
        try:
            self._input = get_value(self._heading,
                                    self._default,
                                    hidden=self._hidden)
            self._confirmed = True
        except (KeyboardInterrupt, EOFError):
            pass