def SetTimeout(self, value):
    try:
      value = int(value)
    except __HOLE__:
      raise DialogException('Timeout value %s is not an integer.' % value)
    self._timeout = int(value)
dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/cocoadialog.py/Dialog.SetTimeout