Package: gtk

Accessor gtk:entry-invisible-char

Lambda List

gtk:entry-invisible-char (object)

Syntax

(gtk:entry-invisible-char object) => char
(setf (gtk:entry-invisble-char object) char)

Arguments

object -- a gtk:entry widget
char -- an unsigned integer with a Unicode char code

Details

Accessor of the invisible-char slot of the gtk:entry class. The gtk:entry-invisible-char function retrieves the character displayed in place of the real characters for entries with visibility set to false. The (setf gtk:entry-invisible-char) function sets the character to use in place of the actual text.

For example, this is the character used in "password mode" to show the user how many characters have been typed. By default, GTK picks the best invisible char available in the current font. If you set the invisible char to 0, then the user will get no feedback at all. There will be no text on the screen as they type.
 

See also

2024-11-26