[gtk+/treeview-refactor] docs: move documentation to inline comments: GtkColorButton
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/treeview-refactor] docs: move documentation to inline comments: GtkColorButton
- Date: Mon, 8 Nov 2010 02:27:33 +0000 (UTC)
commit a31142a8fae5a31cd03b2c78b7e280c15de8c190
Author: Javier Jardón <jjardon gnome org>
Date: Sat Nov 6 03:19:32 2010 +0100
docs: move documentation to inline comments: GtkColorButton
docs/reference/gtk/tmpl/.gitignore | 1 +
docs/reference/gtk/tmpl/gtkcolorbutton.sgml | 148 ---------------------------
gtk/gtkcolorbutton.c | 13 +++
3 files changed, 14 insertions(+), 148 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 8350143..28b7b35 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -8,6 +8,7 @@ gtkbuilder.sgml
gtkbutton.sgml
gtkcalendar.sgml
gtkcelleditable.sgml
+gtkcolorbutton.sgml
gtkcombobox.sgml
gtkcomboboxentry.sgml
gtkcontainer.sgml
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index 2e2214f..c363f3a 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -45,6 +45,19 @@
#include "gtkprivate.h"
#include "gtkintl.h"
+
+/**
+ * SECTION:gtkcolorbutton
+ * @Short_description: A button to launch a color selection dialog
+ * @Title: GtkColorButton
+ * @See_also: #GtkColorSelectionDialog, #GtkFontButton
+ *
+ * The #GtkColorButton is a button which displays the currently selected color
+ * an allows to open a color selection dialog to change the color. It is suitable
+ * widget for selecting a color in a preference dialog.
+ */
+
+
/* Size of checks and gray levels for alpha compositing checkerboard */
#define CHECK_SIZE 4
#define CHECK_DARK (1.0 / 3.0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]