stylecontext: add GTK_STYLE_CLASS_ARROW

For e.g. submenu items arrow in GtkMenuItems.

https://bugzilla.gnome.org/show_bug.cgi?id=665420
This commit is contained in:
Cosimo Cecchi 2011-12-02 11:57:44 -05:00
parent 2e01dc1b7a
commit c538fb8f64
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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;