Package: gtk

Accessor gtk:font-chooser-preview-text

Lambda List

gtk:font-chooser-preview-text (object)

Syntax

(gtk:font-chooser-preview-text object) => text
(setf (gtk:font-chooser-preview-text object) text)

Arguments

object -- a gtk:font-chooser object
text -- a string for the text to display in the preview area

Details

The accessor for the preview-text slot of the gtk:font-chooser class gets or sets the text displayed in the preview area. The text is used to show how the selected font looks. See the pango:language-sample-string function.

Warning

The gtk:font-chooser implementation is deprecated since 4.10. Use the gtk:font-dialog and gtk:font-dialog-button widgets instead.
 

See also

2025-09-28