Gimp.fonts_set_popup
Description: Reference for Gimp.fonts_set_popup

### Function

# Gimpfonts_set_popup

#### Declaration [src]

    gboolean
    gimp_fonts_set_popup (
      const gchar* font_callback,
      const gchar* font_name
    )

#### Description [src]

Sets the current font in a font selection dialog.

Sets the current font in a font selection dialog.

#### Parameters

`font_callback`

  Type: `const gchar*`

  The name of the callback registered in the PDB for the dialog.

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

`font_name`

  Type: `const gchar*`

  The name of the font to set as selected.

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

#### Return value

Type: `gboolean`

TRUE on success.