Searched refs:lv_obj_get_index (Results 1 – 14 of 14) sorted by relevance
/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_obj_tree.c | 57 TEST_ASSERT_EQUAL(lv_obj_get_index(child1), 0); in test_obj_tree_3() 61 TEST_ASSERT_EQUAL(lv_obj_get_index(child2), 0); in test_obj_tree_3() 76 TEST_ASSERT_EQUAL(lv_obj_get_index(child2), 0); in test_obj_tree_3() 80 TEST_ASSERT_EQUAL(lv_obj_get_index(child1), 0); in test_obj_tree_3() 100 TEST_ASSERT_EQUAL(1, lv_obj_get_index(child1)); in test_obj_move_to_index_move_to_the_background() 101 TEST_ASSERT_EQUAL(0, lv_obj_get_index(child2)); in test_obj_move_to_index_move_to_the_background() 116 lv_obj_move_to_index(child1, lv_obj_get_index(child1) - 1); in test_obj_move_to_index_move_forward() 118 TEST_ASSERT_EQUAL(1, lv_obj_get_index(child1)); in test_obj_move_to_index_move_forward() 119 TEST_ASSERT_EQUAL(0, lv_obj_get_index(child2)); in test_obj_move_to_index_move_forward() 133 TEST_ASSERT_EQUAL_INT32(0xFFFFFFFF, lv_obj_get_index(child1)); in test_obj_move_to_index_no_operation_when_parent_is_null() [all …]
|
D | test_dropdown.c | 441 TEST_ASSERT_EQUAL_INT(2, lv_obj_get_index(list)); in test_dropdown_should_list_on_top()
|
/lvgl-latest/src/core/ |
D | lv_obj_tree.c | 169 for(i = lv_obj_get_index(obj); i <= (int32_t)lv_obj_get_child_count(old_parent) - 2; i++) { in lv_obj_set_parent() 217 const int32_t old_index = lv_obj_get_index(obj); in lv_obj_move_to_index() 261 uint_fast32_t index1 = lv_obj_get_index(obj1); in lv_obj_swap() 262 uint_fast32_t index2 = lv_obj_get_index(obj2); in lv_obj_swap() 382 int32_t sibling_idx = (int32_t)lv_obj_get_index(obj) + idx; in lv_obj_get_sibling() 419 int32_t lv_obj_get_index(const lv_obj_t * obj) in lv_obj_get_index() function 579 int32_t id = lv_obj_get_index(obj); in obj_delete_core()
|
D | lv_obj_tree.h | 203 int32_t lv_obj_get_index(const lv_obj_t * obj);
|
D | lv_obj.c | 170 .getter = lv_obj_get_index,
|
/lvgl-latest/examples/widgets/win/ |
D | lv_example_win_1.c | 8 LV_LOG_USER("Button %d clicked", (int)lv_obj_get_index(obj)); in event_handler()
|
/lvgl-latest/examples/widgets/list/ |
D | lv_example_list_2.c | 51 uint32_t index = lv_obj_get_index(currentButton); in event_handler_up() 78 const uint32_t index = lv_obj_get_index(currentButton); in event_handler_dn()
|
/lvgl-latest/examples/others/observer/ |
D | lv_example_observer_4.c | 169 uint32_t idx = lv_obj_get_index(btn); in btn_click_event_cb() 179 int32_t idx = (int32_t)lv_obj_get_index(btn); in btn_observer_cb()
|
/lvgl-latest/examples/widgets/checkbox/ |
D | lv_example_checkbox_2.c | 22 *active_id = lv_obj_get_index(act_cb); in radio_event_handler()
|
/lvgl-latest/demos/ebike/ |
D | lv_demo_ebike.c | 180 uint32_t idx = lv_obj_get_index(icon); in menu_item_click_event_cb()
|
/lvgl-latest/demos/music/ |
D | lv_demo_music_list.c | 234 uint32_t idx = lv_obj_get_index(btn); in btn_click_event_cb()
|
/lvgl-latest/tests/src/test_cases/ |
D | test_bindings.c | 220 uint32_t idx = lv_obj_get_index(btn); in list_button_create()
|
/lvgl-latest/docs/details/base-widget/ |
D | layer.rst | 69 …e top, to move forward (up): :cpp:expr:`lv_obj_move_to_index(widget, lv_obj_get_index(widget) - 1)`
|
D | obj.rst | 124 :cpp:expr:`lv_obj_get_index(widget)` returns the index of the Widget in its parent.
|