mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
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:
parent
2e01dc1b7a
commit
c538fb8f64
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user