monitor_layout
Classes
|
Class to manage labels with increase/decrease buttons for settings. |
- class LabelButtons(name: str, direction: str, row: int, column: int, width: int, color: str, layout: Layout, width_res: int = 640, height_res: int = 480)[source]
Bases:
objectClass to manage labels with increase/decrease buttons for settings.
- increase_value() None[source]
Increases the value of the setting safely.
- decrease_value() None[source]
Decreases the value of the setting safely.
- start_increasing() None[source]
Starts the timer to increase the value continuously.
- start_decreasing() None[source]
Starts the timer to decrease the value continuously.
- stop_timer() None[source]
Stops the timers and saves the new value.