Text.setVisibility
void setVisibility(bool visible)Sets whether the contents of the gtk.text.Text are visible or not.
When visibility is set to false, characters are displayed as the invisible char, and will also appear that way when the text in the widget is copied to the clipboard.
By default, GTK picks the best invisible character available in the current font, but it can be changed with gtk.text.Text.setInvisibleChar.
Note that you probably want to set gtk.text.Text.inputPurpose to gtk.types.InputPurpose.Password or gtk.types.InputPurpose.Pin to inform input methods about the purpose of this self, in addition to setting visibility to false.
Parameters
visible | true if the contents of the gtk.text.Text are displayed as plaintext |