diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-02 03:38:02 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-02 03:38:02 +0000 |
commit | fc9057e3a5b73dffb7761d00a9324ea8903a26bf (patch) | |
tree | 2535d451d20adc37357c41aec4b9a8b7e27da5f7 /pango/pango-attributes.h | |
parent | 626c131eaf3c040cf01da573e4c265144aeaa78d (diff) | |
parent | 34c8e9c1a5915a12c376508244df6a96a1bf7fbc (diff) | |
download | pango-fc9057e3a5b73dffb7761d00a9324ea8903a26bf.tar.gz |
Merge branch 'introspection-fixes' into 'main'
layout: Add some api for introspection
Closes #476 and #553
See merge request GNOME/pango!373
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r-- | pango/pango-attributes.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h index 3336eb53..6f18718e 100644 --- a/pango/pango-attributes.h +++ b/pango/pango-attributes.h @@ -699,6 +699,25 @@ gboolean pango_markup_parser_finish (GMarkupParseContext *context gunichar *accel_char, GError **error); +PANGO_AVAILABLE_IN_1_50 +PangoAttrString *pango_attribute_as_string (PangoAttribute *attr); +PANGO_AVAILABLE_IN_1_50 +PangoAttrLanguage *pango_attribute_as_language (PangoAttribute *attr); +PANGO_AVAILABLE_IN_1_50 +PangoAttrInt *pango_attribute_as_int (PangoAttribute *attr); +PANGO_AVAILABLE_IN_1_50 +PangoAttrSize *pango_attribute_as_size (PangoAttribute *attr); +PANGO_AVAILABLE_IN_1_50 +PangoAttrFloat *pango_attribute_as_float (PangoAttribute *attr); +PANGO_AVAILABLE_IN_1_50 +PangoAttrColor *pango_attribute_as_color (PangoAttribute *attr); +PANGO_AVAILABLE_IN_1_50 +PangoAttrFontDesc *pango_attribute_as_font_desc (PangoAttribute *attr); +PANGO_AVAILABLE_IN_1_50 +PangoAttrShape *pango_attribute_as_shape (PangoAttribute *attr); +PANGO_AVAILABLE_IN_1_50 +PangoAttrFontFeatures *pango_attribute_as_font_features (PangoAttribute *attr); + G_END_DECLS #endif /* __PANGO_ATTRIBUTES_H__ */ |