Package: gtk

Accessor gtk-entry-visibility

Lambda List

gtk-entry-visibility (object)

Syntax

(gtk-entry-visibility object) => visible
(setf (gtk-entry-visibility object) visible)

Arguments

object -- a gtk-entry widget
visible -- true if the contents of the entry are displayed as plaintext

Details

Accessor of the visibility slot of the gtk-entry class.

The gtk-entry-visible slot access function retrieves whether the text in the entry is visible. The (setf gtk-entry-visible) slot access function sets whether the contents of the entry 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 entry is copied elsewhere.

By default, GTK picks the best invisible character available in the current font, but it can be changed with the gtk-entry-invisible-char function.
 

See also

2021-11-3