summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-08-31 14:46:07 -0400
committerMatthias Clasen <mclasen@redhat.com>2012-08-31 15:09:55 -0400
commit1ac2982265c87a6164a986b6df161b1af011c944 (patch)
tree2019d0a72919455a54f3ac8563776757c948740e /gtk/gtkentry.h
parent2458f4e5941960af6a460667f898ab68940a8c3c (diff)
downloadgtk+-1ac2982265c87a6164a986b6df161b1af011c944.tar.gz
Allow setting Pango attributes on entries
This is useful to adjust the weight or scale of the text.
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r--gtk/gtkentry.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h
index 86efd7e098..338c8d279b 100644
--- a/gtk/gtkentry.h
+++ b/gtk/gtkentry.h
@@ -289,6 +289,11 @@ void gtk_entry_set_input_hints (GtkEntry
GDK_AVAILABLE_IN_3_6
GtkInputHints gtk_entry_get_input_hints (GtkEntry *entry);
+GDK_AVAILABLE_IN_3_6
+void gtk_entry_set_attributes (GtkEntry *entry,
+ PangoAttrList *attrs);
+GDK_AVAILABLE_IN_3_6
+PangoAttrList *gtk_entry_get_attributes (GtkEntry *entry);
G_END_DECLS