Home
last modified time | relevance | path

Searched refs:checkbox (Results 1 – 15 of 15) sorted by relevance

/lvgl-latest/tests/src/test_cases/widgets/
Dtest_checkbox.c17 static lv_obj_t * checkbox = NULL; variable
33 checkbox = lv_checkbox_create(active_screen); in test_checkbox_creation_successful()
35 TEST_ASSERT_NOT_NULL(checkbox); in test_checkbox_creation_successful()
41 checkbox = lv_checkbox_create(active_screen); in test_checkbox_should_call_event_handler_on_click_when_enabled()
43 lv_obj_add_state(checkbox, LV_STATE_CHECKED); in test_checkbox_should_call_event_handler_on_click_when_enabled()
44 lv_obj_add_event_cb(checkbox, event_handler, LV_EVENT_ALL, NULL); in test_checkbox_should_call_event_handler_on_click_when_enabled()
46 lv_test_mouse_click_at(checkbox->coords.x1, checkbox->coords.y1); in test_checkbox_should_call_event_handler_on_click_when_enabled()
58 checkbox = lv_checkbox_create(active_screen); in test_checkbox_should_have_default_text_when_created()
60 TEST_ASSERT_EQUAL_STRING(default_text, lv_checkbox_get_text(checkbox)); in test_checkbox_should_have_default_text_when_created()
61 TEST_ASSERT_NOT_NULL(lv_checkbox_get_text(checkbox)); in test_checkbox_should_have_default_text_when_created()
[all …]
/lvgl-latest/examples/scroll/
Dlv_example_scroll_7.c85 lv_obj_t * checkbox = lv_event_get_target_obj(e); in checkbox_cb() local
87 bool checked = lv_obj_has_state(checkbox, LV_STATE_CHECKED); in checkbox_cb()
107 lv_obj_t * checkbox = lv_checkbox_create(scr); in lv_example_scroll_7() local
108 lv_checkbox_set_text_static(checkbox, "show\nscrollbar"); in lv_example_scroll_7()
109 lv_obj_align(checkbox, LV_ALIGN_LEFT_MID, 10, 0); in lv_example_scroll_7()
110 lv_obj_add_event_cb(checkbox, checkbox_cb, LV_EVENT_VALUE_CHANGED, obj); in lv_example_scroll_7()
/lvgl-latest/examples/widgets/checkbox/
Dindex.rst5 .. lv_example:: widgets/checkbox/lv_example_checkbox_1
10 .. lv_example:: widgets/checkbox/lv_example_checkbox_2
/lvgl-latest/demos/flex_layout/
Dlv_demo_flex_layout_ctrl_pad.c111 lv_obj_t * checkbox = ui->ctrl_pad.tab.flex.checkbox_scrl; in ctrl_pad_obj_update() local
113 lv_obj_add_state(checkbox, LV_STATE_CHECKED); in ctrl_pad_obj_update()
116 lv_obj_remove_state(checkbox, LV_STATE_CHECKED); in ctrl_pad_obj_update()
/lvgl-latest/docs/details/widgets/
Dindex.rst18 checkbox
Dcheckbox.rst103 .. include:: ../../examples/widgets/checkbox/index.rst
/lvgl-latest/docs/details/integration/bindings/
Dpikascript.rst113 cb = lv.checkbox(lv.screen_active())
116 cb = lv.checkbox(lv.screen_active())
120 cb = lv.checkbox(lv.screen_active())
124 cb = lv.checkbox(lv.screen_active())
/lvgl-latest/env_support/qnx/
Dcommon.mk77 $(SRC_ROOT)/widgets/checkbox \
/lvgl-latest/docs/
DREADME_jp.rst317 cb = lv.checkbox(lv.scr_act())
321 cb = lv.checkbox(lv.scr_act())
326 cb = lv.checkbox(lv.scr_act())
331 cb = lv.checkbox(lv.scr_act())
DREADME_zh.rst341 cb = lv.checkbox(lv.screen_active())
345 cb = lv.checkbox(lv.screen_active())
350 cb = lv.checkbox(lv.screen_active())
355 cb = lv.checkbox(lv.screen_active())
DREADME_pt_BR.rst377 cb = lv.checkbox(lv.scr_act())
381 cb = lv.checkbox(lv.scr_act())
386 cb = lv.checkbox(lv.scr_act())
391 cb = lv.checkbox(lv.scr_act())
/lvgl-latest/
DREADME.md247 cb = lv.checkbox(lv.screen_active())
251 cb = lv.checkbox(lv.screen_active())
256 cb = lv.checkbox(lv.screen_active())
261 cb = lv.checkbox(lv.screen_active())
/lvgl-latest/env_support/pikascript/
Dpika_lvgl.pyi206 class checkbox(lv_obj):
/lvgl-latest/docs/details/base-widget/styles/
Dstyle.rst175 …rator:`LV_PART_INDICATOR`: Indicator, e.g. for slider, bar, switch, or the tick box of the checkbox
/lvgl-latest/docs/details/base-widget/
Dobj.rst436 …rator:`LV_PART_INDICATOR`: Indicator, e.g. for slider, bar, switch, or the tick box of the checkbox