Move documentation to inline comments: GtkVScrollbar

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611658
This commit is contained in:
Steven Harms 2010-03-03 18:21:56 -05:00 committed by Tristan Van Berkom
parent 83430719d1
commit ba22b91e31
3 changed files with 20 additions and 40 deletions

View File

@ -1,40 +0,0 @@
<!-- ##### SECTION Title ##### -->
GtkVScrollbar
<!-- ##### SECTION Short_Description ##### -->
A vertical scrollbar
<!-- ##### SECTION Long_Description ##### -->
<para>
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.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
#GtkScrollbar, #GtkScrolledWindow
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkVScrollbar ##### -->
<para>
The #GtkVScrollbar struct contains private data and should be accessed
using the functions below.
</para>
<!-- ##### FUNCTION gtk_vscrollbar_new ##### -->
<para>
</para>
@adjustment:
@Returns:

View File

@ -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

View File

@ -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;