PasswordInput#

Availability (Key)#

macOS

GTK

Windows

iOS

Android

Web

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.