Package: gtk

Accessor gtk:text-placeholder-text

Lambda List

gtk:text-placeholder-text (object)

Syntax

(gtk:text-placeholder-text object) => text
(setf (gtk:text-placeholder-text object) text)

Arguments

object -- a gtk:text widget
text -- a string to be displayed when the text entry is empty and unfocused, or nil

Details

Accessor of the placeholder-text slot of the gtk:text class. The gtk:text-placeholder-text function retrieves the text that will be displayed when the text entry is empty and unfocused. The (setf gtk:text-placeholder-text) function sets text to be displayed. This can be used to give a visual hint for the expected contents of the text entry.
 

See also

2024-5-17