Method

GtkFontChooserset_preview_text

since: 3.2

Declaration [src]

void
gtk_font_chooser_set_preview_text (
  GtkFontChooser* fontchooser,
  const gchar* text
)

Description [src]

Sets the text displayed in the preview area. The text is used to show how the selected font looks.

Available since: 3.2

Parameters

text

Type: const gchar*

The text to display in the preview area.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.