Constructor

GtkScrollbarnew

since: 3.0

Declaration [src]

GtkWidget*
gtk_scrollbar_new (
  GtkOrientation orientation,
  GtkAdjustment* adjustment
)

Description [src]

Creates a new scrollbar with the given orientation.

Available since: 3.0

Parameters

orientation

Type: GtkOrientation

The scrollbar’s orientation.

adjustment

Type: GtkAdjustment

The GtkAdjustment to use, or NULL to create a new adjustment.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: GtkWidget

The new GtkScrollbar.

The data is owned by the called function.