[gtk+/gtk-style-context: 457/540] Some more images for gtk_render docs



commit 55b0cd55826d0367851c8c044f4b937c715faa44
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Nov 23 11:20:29 2010 -0500

    Some more images for gtk_render docs

 docs/reference/gtk/Makefile.am          |    4 +++-
 docs/reference/gtk/images/arrows.png    |  Bin 0 -> 549 bytes
 docs/reference/gtk/images/expanders.png |  Bin 0 -> 697 bytes
 gtk/gtkstylecontext.c                   |   14 ++++++++++++--
 4 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am
index 5adc949..fb96f41 100644
--- a/docs/reference/gtk/Makefile.am
+++ b/docs/reference/gtk/Makefile.am
@@ -343,7 +343,9 @@ HTML_IMAGES = \
 	$(srcdir)/images/border3.png					\
 	$(srcdir)/images/slices.png					\
 	$(srcdir)/images/checks.png					\
-	$(srcdir)/images/options.png
+	$(srcdir)/images/options.png					\
+	$(srcdir)/images/arrows.png					\
+	$(srcdir)/images/expanders.png
 
 # Extra options to supply to gtkdoc-fixref
 FIXXREF_OPTIONS=--extra-dir=../gdk/html \
diff --git a/docs/reference/gtk/images/arrows.png b/docs/reference/gtk/images/arrows.png
new file mode 100644
index 0000000..d189a51
Binary files /dev/null and b/docs/reference/gtk/images/arrows.png differ
diff --git a/docs/reference/gtk/images/expanders.png b/docs/reference/gtk/images/expanders.png
new file mode 100644
index 0000000..629922e
Binary files /dev/null and b/docs/reference/gtk/images/expanders.png differ
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index eda87bf..1099b70 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -2985,6 +2985,11 @@ gtk_render_option (GtkStyleContext *context,
  *
  * Renders an arrow pointing to @angle.
  *
+ * <example>
+ * <title>Typical arrow renderings at 0, 1&solidus;2 &pi;, &pi; and 3&solidus;2 &pi;</title>
+ * <inlinegraphic fileref="arrows.png" format="PNG"/>
+ * </example>
+ *
  * Since: 3.0
  **/
 void
@@ -3093,8 +3098,13 @@ gtk_render_frame (GtkStyleContext *context,
  * @height: rectangle height
  *
  * Renders an expander (as used in #GtkTreeView and #GtkExpander) in the area
- * defined by @x, @y, @width, @height. The state %GTK_STATE_FLAG_ACTIVE determines
- * whether the expander is collapsed or expanded.
+ * defined by @x, @y, @width, @height. The state %GTK_STATE_FLAG_ACTIVE
+ * determines whether the expander is collapsed or expanded.
+ *
+ * <example>
+ * <title>Typical expander renderings</title>
+ * <inlinegraphic fileref="expanders.png" format="PNG"/>
+ * </example>
  *
  * Since: 3.0
  **/



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