Home
last modified time | relevance | path

Searched refs:currentButton (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.7.0/examples/widgets/list/
Dlv_example_list_2.py3 currentButton = None variable
7 global currentButton
11 if currentButton == obj:
12 currentButton = None
14 currentButton = obj
18 if child == currentButton:
24 global currentButton
28 if currentButton == None:
30 currentButton.move_background()
31 currentButton.scroll_to_view( lv.ANIM.ON)
[all …]
Dlv_example_list_2.c9 static lv_obj_t * currentButton = NULL; variable
18 if(currentButton == obj) { in event_handler()
19 currentButton = NULL; in event_handler()
22 currentButton = obj; in event_handler()
28 if(child == currentButton) { in event_handler()
42 if(currentButton == NULL) return; in event_handler_top()
43 lv_obj_move_background(currentButton); in event_handler_top()
44 lv_obj_scroll_to_view(currentButton, LV_ANIM_ON); in event_handler_top()
52 if(currentButton == NULL) return; in event_handler_up()
53 uint32_t index = lv_obj_get_index(currentButton); in event_handler_up()
[all …]