Constructor

GtkScalenew

since: 3.0

Declaration [src]

GtkWidget*
gtk_scale_new (
  GtkOrientation orientation,
  GtkAdjustment* adjustment
)

Description [src]

Creates a new GtkScale.

Available since: 3.0

Parameters

orientation

Type: GtkOrientation

The scale’s orientation.

adjustment

Type: GtkAdjustment

The GtkAdjustment which sets the range of the scale, 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

A new GtkScale.

The data is owned by the called function.