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
idIdentification string of trackbar added in
BaseGUI.trackbar.minMinimum limit of trackbar.
maxMaximum limit of trackbar.
methodTrackbar callback as specified in
BaseGUI.trackbar.currentCurrent trackbar value.