diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-06-03 00:19:24 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-06-03 00:26:55 -0400 |
commit | 7b0929ad388d26e7c24620c5b8e93f9401eb8859 (patch) | |
tree | 30c2beaa4ccba393a27c62ac2b9a4e43c5c9509d /gtk/gtkcssstyleprivate.h | |
parent | a961b05200d7a9fb8f7fc97babbd04c19b37c2cb (diff) | |
download | gtk+-7b0929ad388d26e7c24620c5b8e93f9401eb8859.tar.gz |
Add a function to turn a css style into pango attributes
This is _gtk_style_context_get_pango_attributes, decoupled
from the GtkStyleContext. This will be used to drive css-styled
text rendering from css subnodes of widgets, e.g. for the value
in GtkScale.
Diffstat (limited to 'gtk/gtkcssstyleprivate.h')
-rw-r--r-- | gtk/gtkcssstyleprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcssstyleprivate.h b/gtk/gtkcssstyleprivate.h index f1d165f8df..049574a450 100644 --- a/gtk/gtkcssstyleprivate.h +++ b/gtk/gtkcssstyleprivate.h @@ -74,6 +74,8 @@ gboolean gtk_css_style_print (GtkCssStyle GString *string, guint indent, gboolean skip_initial); +PangoAttrList * gtk_css_style_get_pango_attributes (GtkCssStyle *style); + G_END_DECLS |