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 with the text to display in the preview area

Details

Accessor of the preview-text slot of the gtk:font-chooser class. The gtk:font-chooser-preview-text function gets the text displayed in the preview area. The (setf gtk:font-chooser-preview-text) function 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

2023-8-28