PasswordInput#
Usage#
Reference#
- class toga.widgets.passwordinput.PasswordInput(id=None, style=None, factory=None, value=None, placeholder=None, readonly=False, on_change=None, on_gain_focus=None, on_lose_focus=None, validators=None, initial=None)#
This widget behaves like a TextInput, but obscures the text that is entered by the user.
Create a base Toga widget.
This is an abstract base class; it cannot be instantiated.
- Parameters:
id – The ID for the widget.
style – A style object. If no style is provided, a default style will be applied to the widget.