summaryrefslogtreecommitdiff
path: root/gtk/gtkfontchooser.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2011-09-12 00:13:26 +0200
committerChristian Persch <chpe@gnome.org>2011-09-13 12:55:33 +0200
commitabd9242f3358aad1de4521bd6787643ac82b69db (patch)
tree397bee44380f21f3a2df74a43d6c8fccd9f1a707 /gtk/gtkfontchooser.h
parent1b818f2e461dd85a7feed925334ad7b37498392c (diff)
downloadgtk+-abd9242f3358aad1de4521bd6787643ac82b69db.tar.gz
Add GtkFontChooser:font-desc property
Add a way to set/get the font as a PangoFontDescription.
Diffstat (limited to 'gtk/gtkfontchooser.h')
-rw-r--r--gtk/gtkfontchooser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkfontchooser.h b/gtk/gtkfontchooser.h
index b436bedb39..b47b65c1b6 100644
--- a/gtk/gtkfontchooser.h
+++ b/gtk/gtkfontchooser.h
@@ -81,6 +81,12 @@ GType gtk_font_chooser_get_type (void) G_GNUC_CONST;
PangoFontFamily *gtk_font_chooser_get_family (GtkFontChooser *fontchooser);
PangoFontFace *gtk_font_chooser_get_face (GtkFontChooser *fontchooser);
gint gtk_font_chooser_get_size (GtkFontChooser *fontchooser);
+
+PangoFontDescription *
+ gtk_font_chooser_get_font_desc (GtkFontChooser *fontchooser);
+void gtk_font_chooser_set_font_desc (GtkFontChooser *fontchooser,
+ const PangoFontDescription *font_desc);
+
gchar* gtk_font_chooser_get_font (GtkFontChooser *fontchooser);
void gtk_font_chooser_set_font (GtkFontChooser *fontchooser,