ScaleButton


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
[ Version ( since = "2.12" ) ]
public ScaleButton (IconSize size, double min = 0.0, double max = 100.0, double step = 2.0, string[]? icons = null)

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

Parameters:

size

a stock icon size (IconSize)

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 ScaleButton