]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkstylecontext.h
GtkAboutDialog: Don't use an alignment
[~andy/gtk] / gtk / gtkstylecontext.h
index 80d34884806d4d6496948a15238b70e0c55721da..e687ff13e477ca565b400d007a1e3bfc5ff67371 100644 (file)
@@ -40,11 +40,12 @@ G_BEGIN_DECLS
 
 typedef struct _GtkStyleContext GtkStyleContext;
 typedef struct _GtkStyleContextClass GtkStyleContextClass;
+typedef struct _GtkStyleContextPrivate GtkStyleContextPrivate;
 
 struct _GtkStyleContext
 {
   GObject parent_object;
-  gpointer priv;
+  GtkStyleContextPrivate *priv;
 };
 
 struct _GtkStyleContextClass
@@ -233,6 +234,20 @@ struct _GtkStyleContextClass
  */
 #define GTK_STYLE_CLASS_TOOLBAR "toolbar"
 
+/**
+ * GTK_STYLE_CLASS_PRIMARY_TOOLBAR:
+ *
+ * A CSS class to match primary toolbars.
+ */
+#define GTK_STYLE_CLASS_PRIMARY_TOOLBAR "primary-toolbar"
+
+/**
+ * GTK_STYLE_CLASS_INLINE_TOOLBAR:
+ *
+ * A CSS class to match inline toolbars.
+ */
+#define GTK_STYLE_CLASS_INLINE_TOOLBAR "inline-toolbar"
+
 /**
  * GTK_STYLE_CLASS_RADIO:
  *
@@ -275,6 +290,24 @@ struct _GtkStyleContextClass
  */
 #define GTK_STYLE_CLASS_SCALE "scale"
 
+/**
+ * GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE:
+ *
+ * A CSS class to match scale widgets with marks attached,
+ * all the marks are above for horizontal #GtkScale.
+ * left for vertical #GtkScale.
+ */
+#define GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE "scale-has-marks-above"
+
+/**
+ * GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW:
+ *
+ * A CSS class to match scale widgets with marks attached,
+ * all the marks are below for horizontal #GtkScale,
+ * right for vertical #GtkScale.
+ */
+#define GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW "scale-has-marks-below"
+
 /**
  * GTK_STYLE_CLASS_HEADER:
  *
@@ -289,6 +322,14 @@ struct _GtkStyleContextClass
  */
 #define GTK_STYLE_CLASS_ACCELERATOR "accelerator"
 
+/**
+ * GTK_STYLE_CLASS_RAISED:
+ *
+ * A CSS class to match a raised control, such as a raised
+ * button on a toolbar.
+ */
+#define GTK_STYLE_CLASS_RAISED "raised"
+
 /**
  * GTK_STYLE_CLASS_GRIP:
  *
@@ -352,6 +393,13 @@ struct _GtkStyleContextClass
  */
 #define GTK_STYLE_CLASS_VIEW "view"
 
+/**
+ * GTK_STYLE_CLASS_SIDEBAR:
+ *
+ * A widget class defining a sidebar
+ */
+#define GTK_STYLE_CLASS_SIDEBAR "sidebar"
+
 /**
  * GTK_STYLE_CLASS_HIGHLIGHT:
  *
@@ -382,6 +430,13 @@ struct _GtkStyleContextClass
  */
 #define GTK_STYLE_CLASS_PANE_SEPARATOR "pane-separator"
 
+/**
+ * GTK_STYLE_CLASS_SEPARATOR:
+ *
+ * A CSS class for a separator.
+ */
+#define GTK_STYLE_CLASS_SEPARATOR "separator"
+
 /**
  * GTK_STYLE_CLASS_INFO:
  *