setPreviewText

open fun setPreviewText(text: String)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

Use class@Gtk.FontDialog and class@Gtk.FontDialogButton instead

Sets the text displayed in the preview area.

The @text is used to show how the selected font looks.

Parameters

text

the text to display in the preview area