python - Tkinter: How do I hide text as if with a password with a Text (not Entry) widget? -


i know entry widget, in tkinter, can this:

entry.config(show="*") 

and show asterisks instead of whatever type.

however, same thing text widget, there no show option configure text widgets. there way in text widget? it'll mean lot less work me if there is.

the reason less work because have lots of custom functionality , customizations set text widget class, , don't want have reprogram on again entry widget, when one-line text widget works fine in place (other maybe feature). text , entry widgets have different ways access indexes , such, , these quite involved. customizations make can such press ctrl+left skip word, , kinds of stuff (and complicated stuff not that, too, may or may not have indexes).

no, text widget has no such feature. have implement yourself, , i'm guessing difficult make work.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -