gimpfonts

gimpfonts —

Synopsis




gboolean    gimp_fonts_popup                (gchar *font_callback,
                                             gchar *popup_title,
                                             gchar *initial_font);
gboolean    gimp_fonts_close_popup          (gchar *font_callback);
gboolean    gimp_fonts_set_popup            (gchar *font_callback,
                                             gchar *font_name);

Description

Details

gimp_fonts_popup ()

gboolean    gimp_fonts_popup                (gchar *font_callback,
                                             gchar *popup_title,
                                             gchar *initial_font);

Invokes the Gimp font selection.

This procedure popups the font selection dialog.

font_callback : The callback PDB proc to call when font selection is made.
popup_title : Title to give the font popup window.
initial_font : The name of the font to set as the first selected.
Returns : TRUE on success.

gimp_fonts_close_popup ()

gboolean    gimp_fonts_close_popup          (gchar *font_callback);

Popdown the Gimp font selection.

This procedure closes an opened font selection dialog.

font_callback : The name of the callback registered for this popup.
Returns : TRUE on success.

gimp_fonts_set_popup ()

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

Sets the current font selection in a popup.

Sets the current font selection in a popup.

font_callback : The name of the callback registered for this popup.
font_name : The name of the font to set as selected.
Returns : TRUE on success.