An integer value setting. Its representation is a spin button.
Name | Type | Default Value | Description |
---|---|---|---|
bind | string | The name of the variable or property to which the configuration element is bound. | |
callback | function | [new in 0.34] A callback function which is called every time the value changes. The callback takes the name of the bound property and the new value as arguments. | |
enabled | boolean | true | [new in 0.34] Whether the config item is enabled. Disabled items appear greyed out. |
help | string | The tooltip text for the element in the configuration dialog. | |
label | string | The label text for the element in the configuration dialog. | |
min | integer | 0 | The minimal value allowed. |
max | integer | 9999 | The maximal value allowed. |
<integer label="MTU:" bind="mtu" min="46" max="1500"/>