Home
last modified time | relevance | path

Searched refs:lv_obj_has_state (Results 1 – 14 of 14) sorted by relevance

/lvgl-3.4.0/tests/src/test_cases/
Dtest_switch.c86 TEST_ASSERT(lv_obj_has_state(sw, LV_STATE_CHECKED)); in test_switch_animation()
92 TEST_ASSERT_FALSE(lv_obj_has_state(sw, LV_STATE_CHECKED)); in test_switch_animation()
137 TEST_ASSERT(lv_obj_has_state(sw, LV_STATE_CHECKED)); in test_switch_should_state_change_when_event_bubbling_is_enabled()
/lvgl-3.4.0/examples/widgets/switch/
Dlv_example_switch_1.c9 LV_LOG_USER("State: %s\n", lv_obj_has_state(obj, LV_STATE_CHECKED) ? "On" : "Off"); in event_handler()
/lvgl-3.4.0/examples/anim/
Dlv_example_anim_1.c14 if(lv_obj_has_state(sw, LV_STATE_CHECKED)) { in sw_event_cb()
Dlv_example_anim_timeline_1.c100 bool reverse = lv_obj_has_state(btn, LV_STATE_CHECKED); in btn_start_event_handler()
/lvgl-3.4.0/examples/scroll/
Dlv_example_scroll_2.c12 if(lv_obj_has_state(sw, LV_STATE_CHECKED)) lv_obj_add_flag(list, LV_OBJ_FLAG_SCROLL_ONE); in sw_event_cb()
/lvgl-3.4.0/src/core/
Dlv_obj.h306 bool lv_obj_has_state(const lv_obj_t * obj, lv_state_t state);
Dlv_obj.c315 bool lv_obj_has_state(const lv_obj_t * obj, lv_state_t state) in lv_obj_has_state() function
Dlv_obj_pos.c912 if(lv_obj_has_state(obj, LV_STATE_DISABLED)) return false; in lv_obj_hit_test()
/lvgl-3.4.0/docs/widgets/core/
Dswitch.md23 To get the current state of the switch (with `true` being on), use `lv_obj_has_state(switch, LV_STA…
/lvgl-3.4.0/examples/widgets/menu/
Dlv_example_menu_5.c127 if(lv_obj_has_state(obj, LV_STATE_CHECKED)) { in switch_handler()
/lvgl-3.4.0/src/extra/others/gridnav/
Dlv_gridnav.c212 if(lv_obj_has_state(obj, LV_STATE_FOCUSED)) { in gridnav_event_cb()
/lvgl-3.4.0/docs/get-started/
Dquick-overview.md179 To check if an object is in a given state use `lv_obj_has_state(obj, LV_STATE_...)`. It will return…
/lvgl-3.4.0/demos/music/
Dlv_demo_music_main.c930 if(lv_obj_has_state(obj, LV_STATE_CHECKED)) { in play_event_click_cb()
/lvgl-3.4.0/demos/widgets/
Dlv_demo_widgets.c1264 if(dsc->part == LV_PART_KNOB && lv_obj_has_state(obj, LV_STATE_PRESSED)) { in slider_event_cb()