[gtk+] Add GTK_STYLE_CLASS_DESTRUCTIVE_ACTION



commit 3c4dbe6c7afdb97086ef5baaeb9467668dc2c837
Author: William Jon McCann <william jon mccann gmail com>
Date:   Fri Feb 7 10:28:24 2014 -0500

    Add GTK_STYLE_CLASS_DESTRUCTIVE_ACTION

 gtk/gtkstylecontext.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 9e1aadc..870d9c1 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 */
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]