add_range_setting


Description:

public unowned SpinRow add_range_setting (string label, double value, double min, double max, double step, RangeCallback on_value_changed, ResetCallback on_reset, Settings settings)

Add a new range settings to the current pane

Parameters:

this

a PreferencesGroup instance

label

the label to display

value

the deafault value

min

the minimal authorized value

max

the maximal authorized value

step

the step between proposed values

on_value_changed

the callback to call when the value changes

on_reset

the callback to call when the value is reset

settings

a Settings instance

Returns:

the SpinRow we just added