Constructor

GtkFontButtonnew_with_font

since: 2.4

Declaration [src]

GtkWidget*
gtk_font_button_new_with_font (
  const gchar* fontname
)

Description [src]

Creates a new font picker widget.

Available since: 2.4

Parameters

fontname

Type: const gchar*

Name of font to display in font chooser dialog.

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

Return value

Type: GtkWidget

A new font picker widget.

The data is owned by the called function.