comparison sat_frontends/jp/xmlui_manager.py @ 3748:53a8b50d69ca

jp (xmlui): add `PasswordWidget`
author Goffi <goffi@goffi.org>
date Tue, 22 Mar 2022 17:00:42 +0100
parents 04283582966f
children 524856bd7b19
comparison
equal deleted inserted replaced
3747:dd1d1a582438 3748:53a8b50d69ca
230 self.value = value 230 self.value = value
231 231
232 232
233 class JidInputWidget(xmlui_base.JidInputWidget, StringWidget): 233 class JidInputWidget(xmlui_base.JidInputWidget, StringWidget):
234 type = "jid_input" 234 type = "jid_input"
235
236
237 class PasswordWidget(xmlui_base.PasswordWidget, StringWidget):
238 type = "password"
235 239
236 240
237 class TextBoxWidget(xmlui_base.TextWidget, StringWidget): 241 class TextBoxWidget(xmlui_base.TextWidget, StringWidget):
238 type = "textbox" 242 type = "textbox"
239 # TODO: use a more advanced input method 243 # TODO: use a more advanced input method