![]() |
![]() |
![]() |
GIMP Library Reference Manual | ![]() |
---|---|---|---|---|
void (*GimpRunFontCallback) (const gchar *font_name, gboolean dialog_closing, gpointer user_data); const gchar* gimp_font_select_new (const gchar *title, const gchar *font_name, GimpRunFontCallback callback, gpointer data); void gimp_font_select_destroy (const gchar *font_callback); gboolean gimp_fonts_popup (const gchar *font_callback, const gchar *popup_title, const gchar *initial_font); gboolean gimp_fonts_close_popup (const gchar *font_callback); gboolean gimp_fonts_set_popup (const gchar *font_callback, const gchar *font_name);
void (*GimpRunFontCallback) (const gchar *font_name, gboolean dialog_closing, gpointer user_data);
|
|
|
|
|
const gchar* gimp_font_select_new (const gchar *title, const gchar *font_name, GimpRunFontCallback callback, gpointer data);
|
|
|
|
|
|
|
|
Returns : |
void gimp_font_select_destroy (const gchar *font_callback);
|
gboolean gimp_fonts_popup (const gchar *font_callback, const gchar *popup_title, const gchar *initial_font);
Invokes the Gimp font selection.
This procedure opens the font selection dialog.
|
The callback PDB proc to call when font selection is made. |
|
Title of the font selection dialog. |
|
The name of the font to set as the first selected. |
Returns : |
TRUE on success. |
gboolean gimp_fonts_close_popup (const gchar *font_callback);
Close the font selection dialog.
This procedure closes an opened font selection dialog.
|
The name of the callback registered for this pop-up. |
Returns : |
TRUE on success. |
gboolean gimp_fonts_set_popup (const gchar *font_callback, const gchar *font_name);
Sets the current font in a font selection dialog.
Sets the current font in a font selection dialog.
|
The name of the callback registered for this pop-up. |
|
The name of the font to set as selected. |
Returns : |
TRUE on success. |