[gtk+/gtk-style-context: 422/540] Add GtkStyleProperties to the docs



commit ec341dcef2e427d0cf657536cd648de52dec9496
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Nov 21 18:00:30 2010 -0500

    Add GtkStyleProperties to the docs

 docs/reference/gtk/gtk-docs.sgml      |    1 +
 docs/reference/gtk/tmpl/gtkenums.sgml |   13 +++++++++++++
 gtk/gtkstyleproperties.c              |   19 +++++++++++++++++++
 3 files changed, 33 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/gtk/gtk-docs.sgml b/docs/reference/gtk/gtk-docs.sgml
index bb9f0cd..5214878 100644
--- a/docs/reference/gtk/gtk-docs.sgml
+++ b/docs/reference/gtk/gtk-docs.sgml
@@ -55,6 +55,7 @@
     <title>Theming in GTK+</title>
     <xi:include href="xml/gtkwidgetpath.xml" />
     <xi:include href="xml/gtkstyleprovider.xml" />
+    <xi:include href="xml/gtkstyleproperties.xml" />
     <xi:include href="xml/gtkstylecontext.xml" />
     <xi:include href="xml/gtkcssprovider.xml" />
     <xi:include href="xml/gtkthemingengine.xml" />
diff --git a/docs/reference/gtk/tmpl/gtkenums.sgml b/docs/reference/gtk/tmpl/gtkenums.sgml
index 4f37bac..24b4d33 100644
--- a/docs/reference/gtk/tmpl/gtkenums.sgml
+++ b/docs/reference/gtk/tmpl/gtkenums.sgml
@@ -313,6 +313,19 @@ Used to change the appearance of an outline typically provided by a #GtkFrame.
 @GTK_SHADOW_ETCHED_IN: The outline has a sunken 3d appearance.
 @GTK_SHADOW_ETCHED_OUT: The outline has a raised 3d appearance
 
+<!-- ##### ENUM GtkStateType ##### -->
+<para>
+
+</para>
+
+ GTK_STATE_NORMAL: 
+ GTK_STATE_ACTIVE: 
+ GTK_STATE_PRELIGHT: 
+ GTK_STATE_SELECTED: 
+ GTK_STATE_INSENSITIVE: 
+ GTK_STATE_INCONSISTENT: 
+ GTK_STATE_FOCUSED: 
+
 <!-- ##### ENUM GtkToolbarStyle ##### -->
 <para>
 Used to customize the appearance of a #GtkToolbar. Note that 
diff --git a/gtk/gtkstyleproperties.c b/gtk/gtkstyleproperties.c
index 3adad1f..5c54b21 100644
--- a/gtk/gtkstyleproperties.c
+++ b/gtk/gtkstyleproperties.c
@@ -32,6 +32,25 @@
 #include "gtk9slice.h"
 #include "gtkintl.h"
 
+/**
+ * SECTION:gtkstyleproperties
+ * @Short_description: Store for style property information
+ * @Title: GtkStyleProperties
+ *
+ * GtkStyleProperties provides the storage for style information
+ * that is used by #GtkStyleContext and other #GtkStyleProvider
+ * implementations.
+ *
+ * Before style properties can be stored in GtkStyleProperties, they
+ * must be registered with gtk_style_properties_register_property().
+ *
+ * Unless you are writing a #GtkStyleProvider implementation, you
+ * are unlikely to use this API directly, as gtk_style_context_get()
+ * and its variants are the preferred way to access styling information
+ * from widget implementations and theming engine implementations
+ * should use the APIs provided by #GtkThemingEngine instead.
+ */
+
 typedef struct GtkStylePropertiesPrivate GtkStylePropertiesPrivate;
 typedef struct PropertyData PropertyData;
 typedef struct PropertyNode PropertyNode;



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