The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_LVGL_OBJ_SWITCH

Switch object

Type: bool

Help

Enable switch object support

Direct dependencies

LVGL_OBJ_SLIDER && LVGL

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At lib/gui/lvgl/Kconfig.objects:360

Included via Kconfig:10Kconfig.zephyr:37lib/Kconfig:15lib/gui/Kconfig:9lib/gui/lvgl/Kconfig:364

Menu path: (top menu) → Additional libraries → Graphical user interface → Objects

config LVGL_OBJ_SWITCH
    bool
    prompt "Switch object" if LVGL_OBJ_SLIDER && LVGL
    default "y" if LVGL_OBJ_SLIDER && LVGL
    depends on LVGL_OBJ_SLIDER && LVGL
    help
      Enable switch object support

(Definitions include propagated dependencies, including from if’s and menus.)