Constructor

GtkScalenew

Declaration [src]

GtkWidget*
gtk_scale_new (
  GtkOrientation orientation,
  GtkAdjustment* adjustment
)

Description [src]

Creates a new GtkScale.

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.