ScaleButton.this

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

  1. this(GtkScaleButton* gtkScaleButton)
  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. [type int]

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(). [allow-none][array zero-terminated=1]

Throws

ConstructionException GTK+ fails to create the object.

Meta