[gtk+] stylecontext: add GTK_STYLE_CLASS_ARROW
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] stylecontext: add GTK_STYLE_CLASS_ARROW
- Date: Mon, 5 Dec 2011 14:46:24 +0000 (UTC)
commit c538fb8f6477c4b5cd6fa8fdeb2a2f643f7524c9
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Dec 2 11:57:44 2011 -0500
stylecontext: add GTK_STYLE_CLASS_ARROW
For e.g. submenu items arrow in GtkMenuItems.
https://bugzilla.gnome.org/show_bug.cgi?id=665420
docs/reference/gtk/gtk3-sections.txt | 1 +
gtk/gtkstylecontext.h | 10 ++++++++++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index 477bb18..95b5557 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -5659,6 +5659,7 @@ GTK_STYLE_CLASS_BOTTOM
GTK_STYLE_CLASS_LEFT
GTK_STYLE_CLASS_RIGHT
GTK_STYLE_CLASS_LINKED
+GTK_STYLE_CLASS_ARROW
GTK_STYLE_REGION_COLUMN
GTK_STYLE_REGION_COLUMN_HEADER
GTK_STYLE_REGION_ROW
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 547d45e..0dfb476 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]