Home
last modified time | relevance | path

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

/lvgl-3.7.0/tests/src/test_cases/
Dtest_checkbox.c16 static lv_obj_t * checkbox = NULL; variable
32 checkbox = lv_checkbox_create(active_screen); in test_checkbox_creation_successfull()
34 TEST_ASSERT_NOT_NULL(checkbox); in test_checkbox_creation_successfull()
40 checkbox = lv_checkbox_create(active_screen); in test_checkbox_should_call_event_handler_on_click_when_enabled()
42 lv_obj_add_state(checkbox, LV_STATE_CHECKED); in test_checkbox_should_call_event_handler_on_click_when_enabled()
43 lv_obj_add_event_cb(checkbox, event_handler, LV_EVENT_ALL, NULL); in test_checkbox_should_call_event_handler_on_click_when_enabled()
45 lv_test_mouse_click_at(checkbox->coords.x1, checkbox->coords.y1); in test_checkbox_should_call_event_handler_on_click_when_enabled()
57 checkbox = lv_checkbox_create(active_screen); in test_checkbox_should_have_default_text_when_created()
59 TEST_ASSERT_EQUAL_STRING(default_text, lv_checkbox_get_text(checkbox)); in test_checkbox_should_have_default_text_when_created()
60 TEST_ASSERT_NOT_NULL(lv_checkbox_get_text(checkbox)); in test_checkbox_should_have_default_text_when_created()
[all …]
/lvgl-3.7.0/examples/widgets/checkbox/
Dlv_example_checkbox_1.py16 cb = lv.checkbox(lv.scr_act())
20 cb = lv.checkbox(lv.scr_act())
25 cb = lv.checkbox(lv.scr_act())
30 cb = lv.checkbox(lv.scr_act())
Dindex.rst5 .. lv_example:: widgets/checkbox/lv_example_checkbox_1
10 .. lv_example:: widgets/checkbox/lv_example_checkbox_2
/lvgl-3.7.0/docs/widgets/core/
Dcheckbox.md23 … pointer to `txt` will be stored. The text then shouldn't be deallocated while the checkbox exists.
29 lv_obj_clear_state(cb, LV_STATE_CHECKED); /*MAke the checkbox unchecked*/
30 lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED); /*Make the checkbox checked and disable…
34 - `LV_EVENT_VALUE_CHANGED` Sent when the checkbox is toggled.
36 - `LV_CHECKBOX_DRAW_PART_BOX` The tickbox of the checkbox
50 - `LV_KEY_ENTER` Clicks the checkbox and toggles it
61 .. include:: ../../../examples/widgets/checkbox/index.rst
Dindex.md13 checkbox
/lvgl-3.7.0/docs/overview/
Dobject.md188 - `LV_PART_INDICATOR` Indicator, e.g. for slider, bar, switch, or the tick box of the checkbox
Dstyle.md111 - `LV_PART_INDICATOR` Indicator, e.g. for slider, bar, switch, or the tick box of the checkbox
/lvgl-3.7.0/demos/widgets/
Dlv_demo_widgets.py179 lv.checkbox(h, None)
/lvgl-3.7.0/docs/
DCHANGELOG.md768 - fix(checkbox) remove unnecessary events [`2829`](https://github.com/littlevgl/lvgl/pull/2829)
1195 - fix(checkbox) consider the bg border when positioning the indicator [`a39dac9`](https://github.co…
1220 - fix(checkbox) add missing invalidations [`bb39e9d`](https://github.com/lvgl/lvgl/commit/bb39e9d6f…
1311 - feat(example) add checkbox example for radio buttons [`d089b36`](https://github.com/lvgl/lvgl/com…
1384 - docs(checkbox) update the comment lv_checkbox_set_text_static [`3e0ddd0`](https://github.com/lvgl…
1404 - test(checkbox) add initial tests [`2551`](https://github.com/lvgl/lvgl/pull/2551)
1953 - Add inline function lv_checkbox_get_state(const lv_obj_t * cb) to extend the checkbox functionali…
1954 …heckbox_set_state(const lv_obj_t * cb, lv_btn_state_t state ) to extend the checkbox functionality.
2059 - cb -> checkbox