[gtk+/icon-shadow: 8/11] stylecontext: add an "image" style class



commit 58233656b93b569e9ca332f90c2cf7d071e75418
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue May 24 21:29:20 2011 -0400

    stylecontext: add an "image" style class
    
    For images such as icons in GtkEntry widgets.

 gtk/gtkstylecontext.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index ccd45bd..73e5036 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -401,6 +401,13 @@ struct _GtkStyleContextClass
 #define GTK_STYLE_CLASS_SIDEBAR "sidebar"
 
 /**
+ * GTK_STYLE_CLASS_IMAGE:
+ *
+ * A widget class defining an image, such as the icon in an entry.
+ */
+#define GTK_STYLE_CLASS_IMAGE "image"
+
+/**
  * GTK_STYLE_CLASS_HIGHLIGHT:
  *
  * A CSS class defining a highlighted area, such as headings in



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