def setSecret(self, secret):
        warn('use PasswordField instead', DeprecationWarning)

        if self._secret != secret:
            self._secret = secret
            self.requestRepaint()
Sets the secret property on and off. If a field is used to enter
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/text_field.py/TextField.setSecret