ScaleButton.this

Creates a #GtkScaleButton, with a range between @min and @max, with a stepping of @step.

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

Parameters

size GtkIconSize

a stock icon size

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: a new #GtkScaleButton

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.12