ScaleButton.this

Creates a gtk.scale_button.ScaleButton.

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

  1. this(void* ptr, Flag!"Take" take)
  2. this(double min, double max, double step, string[] icons)
    class ScaleButton
    this
    (
    double min
    ,
    double max
    ,
    double step
    ,
    string[] icons = null
    )

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.ScaleButton.setIcons

Return Value