[gtk+] Move documentation to inline comments: GtkVScrollbar
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Move documentation to inline comments: GtkVScrollbar
- Date: Thu, 4 Mar 2010 01:34:30 +0000 (UTC)
commit f0f3b01876a8cb3d905ae472ab55ca2b68a8913e
Author: Steven Harms <sharms ubuntu com>
Date: Wed Mar 3 18:21:56 2010 -0500
Move documentation to inline comments: GtkVScrollbar
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611658
docs/reference/gtk/tmpl/gtkvscrollbar.sgml | 40 ----------------------------
gtk/gtkvscrollbar.c | 14 ++++++++++
gtk/gtkvscrollbar.h | 6 ++++
3 files changed, 20 insertions(+), 40 deletions(-)
---
diff --git a/gtk/gtkvscrollbar.c b/gtk/gtkvscrollbar.c
index 3287e09..8e87c88 100644
--- a/gtk/gtkvscrollbar.c
+++ b/gtk/gtkvscrollbar.c
@@ -32,6 +32,20 @@
#include "gtkintl.h"
#include "gtkalias.h"
+/**
+ * SECTION:gtkvscrollbar
+ * @Short_description: A vertical scrollbar
+ * @Title: GtkVScrollbar
+ * @See_also:#GtkScrollbar, #GtkScrolledWindow
+ *
+ * The #GtkVScrollbar widget is a widget arranged vertically creating a
+ * scrollbar. See #GtkScrollbar for details on
+ * scrollbars. #GtkAdjustment pointers may be added to handle the
+ * adjustment of the scrollbar or it may be left %NULL in which case one
+ * will be created for you. See #GtkScrollbar for a description of what the
+ * fields in an adjustment represent for a scrollbar.
+ */
+
G_DEFINE_TYPE (GtkVScrollbar, gtk_vscrollbar, GTK_TYPE_SCROLLBAR)
static void
diff --git a/gtk/gtkvscrollbar.h b/gtk/gtkvscrollbar.h
index 2a8e85e..2cd2ec9 100644
--- a/gtk/gtkvscrollbar.h
+++ b/gtk/gtkvscrollbar.h
@@ -49,6 +49,12 @@ G_BEGIN_DECLS
typedef struct _GtkVScrollbar GtkVScrollbar;
typedef struct _GtkVScrollbarClass GtkVScrollbarClass;
+/**
+ * GtkVScrollbar:
+ *
+ * The #GtkVScrollbar struct contains private data and should be accessed
+ * using the functions below.
+ */
struct _GtkVScrollbar
{
GtkScrollbar scrollbar;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]