diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-02-07 10:28:24 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-02-07 10:28:53 -0500 |
commit | 3c4dbe6c7afdb97086ef5baaeb9467668dc2c837 (patch) | |
tree | 182b15ba0116d8cea8061d7ef9b538108c1d8181 /gtk/gtkstylecontext.h | |
parent | de4237612240d2746ceae23d327d722d8c5077c9 (diff) | |
download | gtk+-3c4dbe6c7afdb97086ef5baaeb9467668dc2c837.tar.gz |
Add GTK_STYLE_CLASS_DESTRUCTIVE_ACTION
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r-- | gtk/gtkstylecontext.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h index 9e1aadcd92..870d9c1ce1 100644 --- a/gtk/gtkstylecontext.h +++ b/gtk/gtkstylecontext.h @@ -775,6 +775,17 @@ struct _GtkStyleContextClass */ #define GTK_STYLE_CLASS_SUGGESTED_ACTION "suggested-action" +/** + * GTK_STYLE_CLASS_DESTRUCTIVE_ACTION: + * + * A CSS class used when an action (usually a button) is + * one that is expected to remove or destroy something visible + * to the user. + * + * Since: 3.12 + */ +#define GTK_STYLE_CLASS_DESTRUCTIVE_ACTION "destructive-action" + /* Predefined set of widget regions */ /** |