Gtk.Scale.new
Description: Reference for Gtk.Scale.new

### Constructor

# Gtk Scalenew

#### 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.