Method

GtkFontButtonset_font_name

deprecated: 3.22 since: 2.4

Declaration [src]

gboolean
gtk_font_button_set_font_name (
  GtkFontButton* font_button,
  const gchar* fontname
)

Description [src]

Sets or updates the currently-displayed font in font picker dialog.

Available since: 2.4

Deprecated since: 3.22

Use gtk_font_chooser_set_font() instead.

Parameters

fontname

Type: const gchar*

Name of font to display in font chooser dialog.

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

Return value

Type: gboolean

TRUE.