From 5c1676dfe6d2f3c837a5e074117b45613fd29a72 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:30:19 +0200 Subject: Adding upstream version 2.10.34. Signed-off-by: Daniel Baumann --- .../libgimp/html/libgimp-gimpfontselect.html | 228 +++++++++++++++++++++ 1 file changed, 228 insertions(+) create mode 100644 devel-docs/libgimp/html/libgimp-gimpfontselect.html (limited to 'devel-docs/libgimp/html/libgimp-gimpfontselect.html') diff --git a/devel-docs/libgimp/html/libgimp-gimpfontselect.html b/devel-docs/libgimp/html/libgimp-gimpfontselect.html new file mode 100644 index 0000000..776cd22 --- /dev/null +++ b/devel-docs/libgimp/html/libgimp-gimpfontselect.html @@ -0,0 +1,228 @@ + + + + +gimpfontselect: GIMP Library Reference Manual + + + + + + + + + + + + + + + + +
+
+
+ + +
+

gimpfontselect

+

gimpfontselect — Functions providing a font selection dialog.

+
+
+

Functions

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+void + +(*GimpRunFontCallback) () +
const gchar * + +gimp_font_select_new () +
+void + +gimp_font_select_destroy () +
+gboolean + +gimp_fonts_popup () +
+gboolean + +gimp_fonts_close_popup () +
+gboolean + +gimp_fonts_set_popup () +
+
+
+

Description

+

Functions providing a font selection dialog.

+
+
+

Functions

+
+

GimpRunFontCallback ()

+
void
+(*GimpRunFontCallback) (const gchar *font_name,
+                        gboolean dialog_closing,
+                        gpointer user_data);
+
+
+
+

gimp_font_select_new ()

+
const gchar *
+gimp_font_select_new (const gchar *title,
+                      const gchar *font_name,
+                      GimpRunFontCallback callback,
+                      gpointer data);
+
+
+
+

gimp_font_select_destroy ()

+
void
+gimp_font_select_destroy (const gchar *font_callback);
+
+
+
+

gimp_fonts_popup ()

+
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.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

font_callback

The callback PDB proc to call when font selection is made.

 

popup_title

Title of the font selection dialog.

 

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 (const gchar *font_callback);
+

Close the font selection dialog.

+

This procedure closes an opened font selection dialog.

+
+

Parameters

+
+++++ + + + + + +

font_callback

The name of the callback registered for this pop-up.

 
+
+
+

Returns

+

TRUE on success.

+
+
+
+
+

gimp_fonts_set_popup ()

+
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.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

font_callback

The name of the callback registered for this pop-up.

 

font_name

The name of the font to set as selected.

 
+
+
+

Returns

+

TRUE on success.

+
+
+
+
+ + + \ No newline at end of file -- cgit v1.2.3