NumberSelector8x8
Preview notice
The MatrixOS Python API is in preview and is subject to change; it may contain errors.
Overview
The NumberSelector8x8 utility provides a full-screen number selection interface that utilizes the entire 8x8 LED grid. It allows users to select numeric values within a specified range with visual feedback.
The NumberSelector8x8 utility is implemented in Applications/Python/PikaPython/MatrixOS_UIUtility.py with type hints in Applications/Python/PikaPython/_MatrixOS_UIUtility.pyi.
NumberSelector8x8
def NumberSelector8x8(value: int, color: Color, name: str, lower_limit: int, upper_limit: int) -> int
Displays a full-screen number selector interface and returns the selected value.
Parameters:
value(int): Initial/current value to displaycolor(Color): Color theme for the selectorname(str): Name/title displayed with the selectorlower_limit(int): Minimum selectable valueupper_limit(int): Maximum selectable value
Returns:
int: Selected value chosen by the user
Comments