ScaleButton
Description:
[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public ScaleButton (double min = 0.0, double max = 100.0, double step = 2.0, string[]? icons = null)
public ScaleButton (double min = 0.0, double max = 100.0, double step = 2.0, string[]? icons = null)
Creates a `GtkScaleButton`.
The new scale button has a range between min
and max
, with a stepping of step
.
Parameters:
min |
the minimum value of the scale (usually 0) |
max |
the maximum value of the scale (usually 100) |
step |
the stepping of value when a scroll-wheel event, or up/down arrow event occurs (usually 2) |
icons |
a null-terminated array of icon names, or null if you want to set the list later with set_icons |
Returns:
a new `GtkScaleButton` |