vuba.BaseGUI.__setitem__

BaseGUI.__setitem__(key, val)[source]

Change a trackbar’s current recorded value.

Parameters
  • key (str) – Trackbar identification string provided when using BaseGUI.trackbar.

  • val (int) – Value to record trackbar as.

Notes

BaseGUI.__setitem__ will not change the trackbar value in the OpenCV interface and will only change the value recorded in the BaseGUI class instance.

Return type

BaseGUI