public class Spinner extends SpinBox:
Alias for SpinBox using the more common spinner naming.
Spinner keeps the same behavior as SpinBox: the value property is a signal property and can be used directly with Binding.oneWay, Binding.twoWay and Binding.watch.
spinner = Spinner(value=10, minimum=0, maximum=255) Binding.watch(spinner::value, lambda(value: Object): print(value))
| Modifier and Type | Member | Description |
|---|---|---|
| public | Spinner | Creates a spinner with an initial value and range. |