ScaleButton.this

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

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

Parameters

size gtk.types.IconSize

a stock icon size (#GtkIconSize)

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

a new #GtkScaleButton