<refentry id="GtkVScrollbar">
<refmeta>
<refentrytitle>GtkVScrollbar</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GtkVScrollbar</refname><refpurpose>A vertical scrollbar</refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>
<synopsis>

#include &lt;gtk/gtk.h&gt;


struct      <link linkend="GtkVScrollbar-struct">GtkVScrollbar</link>;
<link linkend="GtkWidget">GtkWidget</link>*  <link linkend="gtk-vscrollbar-new">gtk_vscrollbar_new</link>              (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment);


</synopsis>
</refsynopsisdiv>

<refsect1>
<title>Object Hierarchy</title>
<synopsis>

  <link linkend="GObject">GObject</link>
   +----<link linkend="GtkObject">GtkObject</link>
         +----<link linkend="GtkWidget">GtkWidget</link>
               +----<link linkend="GtkRange">GtkRange</link>
                     +----<link linkend="GtkScrollbar">GtkScrollbar</link>
                           +----GtkVScrollbar
</synopsis>

</refsect1>




<refsect1>
<title>Description</title>
<para>
The <link linkend="GtkVScrollbar">GtkVScrollbar</link> widget is a widget arranged vertically creating a scrollbar.
See <link linkend="GtkScrollbar">GtkScrollbar</link> for details on scrollbars. <link linkend="GtkAdjustment">GtkAdjustment</link> pointers may be 
added to handle the adjustment of the scrollbar or it may be left <literal>NULL</literal> in which
case one will be created for you. See <link linkend="GtkAdjustment">GtkAdjustment</link> for details.
</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="GtkVScrollbar-struct">struct GtkVScrollbar</title>
<programlisting>struct GtkVScrollbar;</programlisting>
<para>
The <link linkend="GtkVScrollbar">GtkVScrollbar</link> struct contains private data and should be accessed
using the functions below.
</para></refsect2>
<refsect2>
<title><anchor id="gtk-vscrollbar-new">gtk_vscrollbar_new ()</title>
<programlisting><link linkend="GtkWidget">GtkWidget</link>*  gtk_vscrollbar_new              (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment);</programlisting>
<para>
Creates a new vertical scrollbar.
</para><informaltable pgwide="1" frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>adjustment</parameter>&nbsp;:</entry>
<entry>the <link linkend="GtkAdjustment">GtkAdjustment</link> to use, or <literal>NULL</literal> to create a new adjustment.
</entry></row>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>the new <link linkend="GtkVScrollbar">GtkVScrollbar</link>


</entry></row>
</tbody></tgroup></informaltable></refsect2>

</refsect1>



<refsect1>
<title>See Also</title>
<para>
<link linkend="GtkScrollbar">GtkScrollbar</link>, <link linkend="GtkScrolledWindow">GtkScrolledWindow</link>
</para>
</refsect1>

</refentry>
