webcface.view_base module

class webcface.view_base.ViewColor(value)[source]

Bases: IntEnum

An enumeration.

BLACK = 1
BLUE = 18
CYAN = 16
GRAY = 4
GREEN = 13
INDIGO = 19
INHERIT = 0
ORANGE = 9
PINK = 23
PURPLE = 21
RED = 8
TEAL = 15
WHITE = 2
YELLOW = 11
class webcface.view_base.ViewComponentBase(type: int = 0, text: str = '', on_click: FieldBase | None = None, text_ref: FieldBase | None = None, text_color: int = 0, bg_color: int = 0, min: float | None = None, max: float | None = None, step: float | None = None, option: List[float | bool | str] | None = None)[source]

Bases: object

class webcface.view_base.ViewComponentType(value)[source]

Bases: IntEnum

An enumeration.

BUTTON = 2
CHECK_INPUT = 9
DECIMAL_INPUT = 4
NEW_LINE = 1
NUMBER_INPUT = 5
SELECT_INPUT = 7
SLIDER_INPUT = 8
TEXT = 0
TEXT_INPUT = 3
TOGGLE_INPUT = 6