Method

GtkFontChooserset_font

since: 3.2

Declaration [src]

void
gtk_font_chooser_set_font (
  GtkFontChooser* fontchooser,
  const gchar* fontname
)

Description [src]

Sets the currently-selected font.

Available since: 3.2

Sets propertyGtk.FontChooser:font

Parameters

fontname

Type: const gchar*

A font name like “Helvetica 12” or “Times Bold 18”

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