ScaleButton.this

Creates a GtkScaleButton.

The new scale button has a range between @min and @max, with a stepping of @step.

  1. this(GtkScaleButton* gtkScaleButton, bool ownedRef)
  2. this(double min, double max, double step, string[] icons)
    class ScaleButton
    this
    (
    double min
    ,
    double max
    ,
    double step
    ,
    string[] icons
    )

Parameters

min double

the minimum value of the scale (usually 0)

max double

the maximum value of the scale (usually 100)

step double

the stepping of value when a scroll-wheel event, or up/down arrow event occurs (usually 2)

icons string[]

a %NULL-terminated array of icon names, or %NULL if you want to set the list later with gtk_scale_button_set_icons()

Return Value

a new GtkScaleButton

Throws

ConstructionException GTK+ fails to create the object.

Meta