Add GtkFontChooser:font-desc property

Add a way to set/get the font as a PangoFontDescription.
This commit is contained in:
Christian Persch
2011-09-12 00:13:26 +02:00
parent 1b818f2e46
commit abd9242f33
10 changed files with 362 additions and 116 deletions

View File

@ -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,