GTK+ Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# GtkHScrollbar

## Name

GtkHScrollbar -- A horizontal scrollbar

## Synopsis

    #include <gtk/gtk.h>

    struct      GtkHScrollbar;
    GtkWidget*  gtk_hscrollbar_new              (GtkAdjustment *adjustment);

## Object Hierarchy

      GObject
       +----GtkObject
             +----GtkWidget
                   +----GtkRange
                         +----GtkScrollbar
                               +----GtkHScrollbar

## Description

The GtkHScrollbar widget is a widget arranged horizontally 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 GtkAdjustment for details.

## Details

### struct GtkHScrollbar

    struct GtkHScrollbar;

The GtkHScrollbar struct contains private data and should be accessed using the functions below.

### gtk_hscrollbar_new ()

    GtkWidget*  gtk_hscrollbar_new              (GtkAdjustment *adjustment);

Creates a new horizontal scrollbar.

`adjustment` : | the GtkAdjustment to use, or `NULL` to create a new adjustment.
Returns : | the new GtkHScrollbar.

## See Also

GtkScrollbar, GtkScrolledWindow

<<< Previous Page | Home | Up | Next Page >>>
Scrolling | GtkVScrollbar