Constructor

GntSlidernew

since: 2.1

Declaration [src]

GntWidget*
gnt_slider_new (
  gboolean orient,
  int max,
  int min
)

Description [src]

Create a new slider.

Available since: 2.1

Parameters

orient

Type: gboolean

A vertical slider is created if TRUE, otherwise the slider is horizontal.

max

Type: int

The maximum value for the slider.

min

Type: int

The minimum value for the slider.

Return value

Type: GntWidget

The newly created slider.

The caller of the function takes ownership of the data, and is responsible for freeing it.