vuba.TrackbarMethod
- class vuba.TrackbarMethod(id, min, max, method, current)[source]
Container for a trackbar method and it’s associated variables.
- Parameters
id (str) – Identification string of trackbar added in
BaseGUI.trackbar
.min (int) – Minimum limit of trackbar.
max (int) – Maximum limit of trackbar.
method (callable) – Trackbar callback as specified in
BaseGUI.trackbar
.current (int) – Current trackbar value.
- Returns
container – Mutable container for a trackbar and it’s associated variables.
- Return type
dataclass
- __init__(id, min, max, method, current)
Methods
__init__
(id, min, max, method, current)Attributes
id
Identification string of trackbar added in
BaseGUI.trackbar
.min
Minimum limit of trackbar.
max
Maximum limit of trackbar.
method
Trackbar callback as specified in
BaseGUI.trackbar
.current
Current trackbar value.