summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-12-02 11:57:44 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2011-12-05 09:30:57 -0500
commitc538fb8f6477c4b5cd6fa8fdeb2a2f643f7524c9 (patch)
tree1ed122336007904475b44e75715e28dcfae2fb8a /gtk/gtkstylecontext.h
parent2e01dc1b7a134a6482f39ae7b3b6c840442c93db (diff)
downloadgtk+-c538fb8f6477c4b5cd6fa8fdeb2a2f643f7524c9.tar.gz
stylecontext: add GTK_STYLE_CLASS_ARROW
For e.g. submenu items arrow in GtkMenuItems. https://bugzilla.gnome.org/show_bug.cgi?id=665420
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r--gtk/gtkstylecontext.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 547d45edd6..0dfb4769c6 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -686,6 +686,16 @@ struct _GtkStyleContextClass
*/
#define GTK_STYLE_CLASS_PULSE "pulse"
+/**
+ * GTK_STYLE_CLASS_ARROW:
+ *
+ * A CSS class used when rendering an arrow element.
+ *
+ * Note that #gtk_render_arrow automatically adds this style class
+ * to the style context when rendering an arrow element.
+ */
+#define GTK_STYLE_CLASS_ARROW "arrow"
+
GType gtk_style_context_get_type (void) G_GNUC_CONST;