[gtk+] Move documentation to inline comments: GtkHSV
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Move documentation to inline comments: GtkHSV
- Date: Fri, 15 Apr 2011 01:25:10 +0000 (UTC)
commit 09efa564cb8ab9335cb722141734808c43ab8e9a
Author: Javier Jardón <jjardon gnome org>
Date: Fri Apr 15 00:18:06 2011 +0100
Move documentation to inline comments: GtkHSV
docs/reference/gtk/tmpl/.gitignore | 1 +
docs/reference/gtk/tmpl/gtkhsv.sgml | 142 -----------------------------------
gtk/gtkhsv.c | 15 ++++
3 files changed, 16 insertions(+), 142 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 65aa493..84d3c36 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -52,6 +52,7 @@ gtkhpaned.sgml
gtkhscale.sgml
gtkhscrollbar.sgml
gtkhseparator.sgml
+gtkhsv.c
gtkiconfactory.sgml
gtkicontheme.sgml
gtkiconview.sgml
diff --git a/gtk/gtkhsv.c b/gtk/gtkhsv.c
index 7c67fa5..913f6df 100644
--- a/gtk/gtkhsv.c
+++ b/gtk/gtkhsv.c
@@ -40,6 +40,21 @@
#include "gtktypebuiltins.h"
#include "gtkintl.h"
+
+/**
+ * SECTION:gtkhsv
+ * @Short_description: A 'color wheel' widget
+ * @Title: GtkHSV
+ * @See_also: #GtkColorSelection, #GtkColorSelectionDialog
+ *
+ * #GtkHSV is the 'color wheel' part of a complete color selector widget.
+ * It allows to select a color by determining its HSV components in an
+ * intuitive way. Moving the selection around the outer ring changes the hue,
+ * and moving the selection point inside the inner triangle changes value and
+ * saturation.
+ */
+
+
/* Default width/height */
#define DEFAULT_SIZE 100
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]