Searched refs:lv_obj_has_state (Results 1 – 14 of 14) sorted by relevance
/lvgl-3.4.0/tests/src/test_cases/ |
D | test_switch.c | 86 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/ |
D | lv_example_switch_1.c | 9 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/ |
D | lv_example_anim_1.c | 14 if(lv_obj_has_state(sw, LV_STATE_CHECKED)) { in sw_event_cb()
|
D | lv_example_anim_timeline_1.c | 100 bool reverse = lv_obj_has_state(btn, LV_STATE_CHECKED); in btn_start_event_handler()
|
/lvgl-3.4.0/examples/scroll/ |
D | lv_example_scroll_2.c | 12 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/ |
D | lv_obj.h | 306 bool lv_obj_has_state(const lv_obj_t * obj, lv_state_t state);
|
D | lv_obj.c | 315 bool lv_obj_has_state(const lv_obj_t * obj, lv_state_t state) in lv_obj_has_state() function
|
D | lv_obj_pos.c | 912 if(lv_obj_has_state(obj, LV_STATE_DISABLED)) return false; in lv_obj_hit_test()
|
/lvgl-3.4.0/docs/widgets/core/ |
D | switch.md | 23 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/ |
D | lv_example_menu_5.c | 127 if(lv_obj_has_state(obj, LV_STATE_CHECKED)) { in switch_handler()
|
/lvgl-3.4.0/src/extra/others/gridnav/ |
D | lv_gridnav.c | 212 if(lv_obj_has_state(obj, LV_STATE_FOCUSED)) { in gridnav_event_cb()
|
/lvgl-3.4.0/docs/get-started/ |
D | quick-overview.md | 179 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/ |
D | lv_demo_music_main.c | 930 if(lv_obj_has_state(obj, LV_STATE_CHECKED)) { in play_event_click_cb()
|
/lvgl-3.4.0/demos/widgets/ |
D | lv_demo_widgets.c | 1264 if(dsc->part == LV_PART_KNOB && lv_obj_has_state(obj, LV_STATE_PRESSED)) { in slider_event_cb()
|