__init__(self,
id,
label="",
value=None,
min=0,
max=None,
step=None,
callback=None,
persistent=False)
(Constructor)
| source code |
Unsigned Integer Spin constructor.
-
- Parameters:
id - unique identifier.
label - what to show on a label on the left side of the widget.
value - initial content.
min - minimum value, must be greater or equal zero.
max - maximum value. If None, default_max will be used.
step - step to use to decrement/increment using buttons.
callback - function (or list of functions) that will be called when this
widget have its data changed. Function will receive as
parameters:
-
App reference
-
Widget reference
-
new value
persistent - if this widget should save its data between sessions.
- Overrides:
IntSpin.__init__
|