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

<refnamediv>
<refname>GtkScrollbar</refname><refpurpose>base class for <link linkend="GtkHScrollbar">GtkHScrollbar</link> and GtkVScrollbar.</refpurpose>
</refnamediv>

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

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


struct      <link linkend="GtkScrollbar-struct">GtkScrollbar</link>;


</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>
                     +----GtkScrollbar
</synopsis>

</refsect1>




<refsect1>
<title>Description</title>
<para>
The <link linkend="GtkScrollbar">GtkScrollbar</link> widget is an abstract base class for <link linkend="GtkHScrollbar">GtkHScrollbar</link> and
<link linkend="GtkVScrollbar">GtkVScrollbar</link>. It is not very useful in itself.
</para>

<para>
The position of the thumb in a scrollbar is controlled by the scroll
adjustments. See <link linkend="GtkAdjustment">GtkAdjustment</link> for the fields in an adjustment - for
<link linkend="GtkScrollbar">GtkScrollbar</link>, the "value" field represents the position of the
scrollbar, which must be between the "lower" field and "upper -
page_size." The "page_size" field represents the size of the visible
scrollable area. The "step_increment" and "page_increment" fields are
used when the user asks to step down (using the small stepper arrows)
or page down (using for example the PageDown key).
</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="GtkScrollbar-struct">struct GtkScrollbar</title>
<programlisting>struct GtkScrollbar;</programlisting>
<para>
The <link linkend="GtkScrollbar">GtkScrollbar</link> struct does not contain any public data.
</para></refsect2>

</refsect1>



<refsect1>
<title>See Also</title>
<para>
<variablelist>

<varlistentry>
<term><link linkend="GtkHScrollbar">GtkHScrollbar</link></term>
<listitem><para>a horizontal scrollbar.</para></listitem>
</varlistentry>

<varlistentry>
<term><link linkend="GtkVScrollbar">GtkVScrollbar</link></term>
<listitem><para>a vertical scrollbar.</para></listitem>
</varlistentry>

<varlistentry>
<term><link linkend="GtkAdjustment">GtkAdjustment</link></term>
<listitem><para>connects scrollbars to the widget being scrolled.</para></listitem>
</varlistentry>

<varlistentry>
<term><link linkend="GtkScrolledWindow">GtkScrolledWindow</link></term>
<listitem><para>convenient widget for setting up scrolling.</para></listitem>
</varlistentry>

</variablelist>
</para>
</refsect1>

</refentry>
