Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 58) sorted by relevance

123

/lvgl-latest/scripts/
Dchangelog-template.hbs5 {{#commit-list merges heading='' message='BREAKING CHANGE'}}
7 {{/commit-list}}
8 {{#commit-list commits heading='' message='BREAKING CHANGE'}}
10 {{/commit-list}}
11 {{#commit-list fixes heading='' message='BREAKING CHANGE'}}
13 {{/commit-list}}
16 {{#commit-list merges heading='' message='^arch' exclude='BREAKING CHANGE'}}
18 {{/commit-list}}
19 {{#commit-list commits heading='' message='^arch' exclude='BREAKING CHANGE'}}
21 {{/commit-list}}
[all …]
/lvgl-latest/examples/widgets/tileview/
Dlv_example_tileview_1.py27 list = lv.list(tile3) variable
28 list.set_size(lv.pct(100), lv.pct(100))
30 list.add_btn(None, "One")
31 list.add_btn(None, "Two")
32 list.add_btn(None, "Three")
33 list.add_btn(None, "Four")
34 list.add_btn(None, "Five")
35 list.add_btn(None, "Six")
36 list.add_btn(None, "Seven")
37 list.add_btn(None, "Eight")
[all …]
Dlv_example_tileview_1.c32 lv_obj_t * list = lv_list_create(tile3); in lv_example_tileview_1() local
33 lv_obj_set_size(list, LV_PCT(100), LV_PCT(100)); in lv_example_tileview_1()
35 lv_list_add_btn(list, NULL, "One"); in lv_example_tileview_1()
36 lv_list_add_btn(list, NULL, "Two"); in lv_example_tileview_1()
37 lv_list_add_btn(list, NULL, "Three"); in lv_example_tileview_1()
38 lv_list_add_btn(list, NULL, "Four"); in lv_example_tileview_1()
39 lv_list_add_btn(list, NULL, "Five"); in lv_example_tileview_1()
40 lv_list_add_btn(list, NULL, "Six"); in lv_example_tileview_1()
41 lv_list_add_btn(list, NULL, "Seven"); in lv_example_tileview_1()
42 lv_list_add_btn(list, NULL, "Eight"); in lv_example_tileview_1()
[all …]
/lvgl-latest/examples/scroll/
Dlv_example_scroll_3.py8 list = lv.list(lv.scr_act())
9 list.set_size(280, 220)
10 list.center()
13 list.add_btn(lv.SYMBOL.AUDIO,"Track {:d}".format(btn_cnt))
15 float_btn = lv.btn(list)
18 float_btn.align(lv.ALIGN.BOTTOM_RIGHT, 0, -list.get_style_pad_right(lv.PART.MAIN))
19 float_btn.add_event_cb(lambda evt: self.float_btn_event_cb(evt,list), lv.EVENT.ALL, None)
24 def float_btn_event_cb(self,e,list): argument
29 list_btn = list.add_btn(lv.SYMBOL.AUDIO, "Track {:d}".format(self.btn_cnt))
Dlv_example_scroll_3.c12 lv_obj_t * list = lv_event_get_user_data(e); in float_btn_event_cb() local
15 lv_obj_t * list_btn = lv_list_add_btn(list, LV_SYMBOL_AUDIO, buf); in float_btn_event_cb()
29 lv_obj_t * list = lv_list_create(lv_scr_act()); in lv_example_scroll_3() local
30 lv_obj_set_size(list, 280, 220); in lv_example_scroll_3()
31 lv_obj_center(list); in lv_example_scroll_3()
36 lv_list_add_btn(list, LV_SYMBOL_AUDIO, buf); in lv_example_scroll_3()
39 lv_obj_t * float_btn = lv_btn_create(list); in lv_example_scroll_3()
42 …lv_obj_align(float_btn, LV_ALIGN_BOTTOM_RIGHT, 0, -lv_obj_get_style_pad_right(list, LV_PART_MAIN)); in lv_example_scroll_3()
43 lv_obj_add_event_cb(float_btn, float_btn_event_cb, LV_EVENT_ALL, list); in lv_example_scroll_3()
Dlv_example_scroll_2.c10 lv_obj_t * list = lv_event_get_user_data(e); in sw_event_cb() local
12 if(lv_obj_has_state(sw, LV_STATE_CHECKED)) lv_obj_add_flag(list, LV_OBJ_FLAG_SCROLL_ONE); in sw_event_cb()
13 else lv_obj_clear_flag(list, LV_OBJ_FLAG_SCROLL_ONE); in sw_event_cb()
/lvgl-latest/docs/widgets/core/
Ddropdown.md1 # Drop-down list (lv_dropdown)
6 The drop-down list allows the user to select one value from a list.
8 The drop-down list is closed by default and displays a single value or a predefined text.
9 When activated (by click on the drop-down list), a list is created from which the user may select o…
10 When the user selects a new value, the list is deleted again.
12 The Drop-down list is added to the default group (if it is set). Besides the Drop-down list is an e…
15 …own widget is built from the elements: "button" and "list" (both not related to the button and lis…
24 - `LV_PART_MAIN` The list itself. Uses the typical background properties. `max_height` can be used …
28 The list is hidden/shown on open/close. To add styles to it use `lv_dropdown_get_list(dropdown)` t…
31 lv_obj_t * list = lv_dropdown_get_list(dropdown) /*Get the list*/
[all …]
/lvgl-latest/examples/others/gridnav/
Dlv_example_gridnav_4.c7 lv_obj_t * list = lv_obj_get_parent(obj); in event_handler() local
8 LV_LOG_USER("Clicked: %s", lv_list_get_btn_text(list, obj)); in event_handler()
19 lv_obj_t * list = lv_list_create(lv_scr_act()); in lv_example_gridnav_4() local
20 lv_gridnav_add(list, LV_GRIDNAV_CTRL_ROLLOVER); in lv_example_gridnav_4()
21 lv_obj_align(list, LV_ALIGN_LEFT_MID, 0, 10); in lv_example_gridnav_4()
22 lv_group_add_obj(lv_group_get_default(), list); in lv_example_gridnav_4()
31 lv_list_add_text(list, buf); in lv_example_gridnav_4()
35 lv_obj_t * item = lv_list_add_btn(list, LV_SYMBOL_FILE, buf); in lv_example_gridnav_4()
Dindex.rst8 Grid navigation on a list
20 Simple navigation on a list widget
/lvgl-latest/src/widgets/
Dlv_dropdown.c157 if(dropdown->list) lv_obj_invalidate(dropdown->list); in lv_dropdown_set_options()
186 if(dropdown->list) lv_obj_invalidate(dropdown->list); in lv_dropdown_set_options_static()
257 if(dropdown->list) lv_obj_invalidate(dropdown->list); in lv_dropdown_add_option()
274 if(dropdown->list) lv_obj_invalidate(dropdown->list); in lv_dropdown_clear_options()
287 if(dropdown->list) { in lv_dropdown_set_selected()
321 if(dropdown->list) lv_obj_invalidate(dropdown->list); in lv_dropdown_set_selected_highlight()
333 return dropdown->list; in lv_dropdown_get_list()
460 lv_obj_set_parent(dropdown->list, lv_obj_get_screen(dropdown_obj)); in lv_dropdown_open()
461 lv_obj_move_to_index(dropdown->list, -1); in lv_dropdown_open()
462 lv_obj_clear_flag(dropdown->list, LV_OBJ_FLAG_HIDDEN); in lv_dropdown_open()
[all …]
/lvgl-latest/src/misc/
Dlv_ll.h159 #define _LV_LL_READ(list, i) for(i = _lv_ll_get_head(list); i != NULL; i = _lv_ll_get_next(list, i)) argument
161 #define _LV_LL_READ_BACK(list, i) for(i = _lv_ll_get_tail(list); i != NULL; i = _lv_ll_get_prev(lis… argument
/lvgl-latest/src/extra/widgets/list/
Dlv_list.c65 lv_obj_t * lv_list_add_text(lv_obj_t * list, const char * txt) in lv_list_add_text() argument
68 lv_obj_t * obj = lv_obj_class_create_obj(&lv_list_text_class, list); in lv_list_add_text()
76 lv_obj_t * lv_list_add_btn(lv_obj_t * list, const void * icon, const char * txt) in lv_list_add_btn() argument
79 lv_obj_t * obj = lv_obj_class_create_obj(&lv_list_btn_class, list); in lv_list_add_btn()
101 const char * lv_list_get_btn_text(lv_obj_t * list, lv_obj_t * btn) in lv_list_get_btn_text() argument
103 LV_UNUSED(list); in lv_list_get_btn_text()
Dlv_list.h38 lv_obj_t * lv_list_add_text(lv_obj_t * list, const char * txt);
40 lv_obj_t * lv_list_add_btn(lv_obj_t * list, const void * icon, const char * txt);
42 const char * lv_list_get_btn_text(lv_obj_t * list, lv_obj_t * btn);
/lvgl-latest/demos/keypad_encoder/
Dlv_demo_keypad_encoder.c135 lv_obj_t * list = lv_list_create(parent); in selectors_create() local
136 lv_obj_update_layout(list); in selectors_create()
137 if(lv_obj_get_height(list) > lv_obj_get_content_height(parent)) { in selectors_create()
138 lv_obj_set_height(list, lv_obj_get_content_height(parent)); in selectors_create()
141 lv_list_add_btn(list, LV_SYMBOL_OK, "Apply"); in selectors_create()
142 lv_list_add_btn(list, LV_SYMBOL_CLOSE, "Close"); in selectors_create()
143 lv_list_add_btn(list, LV_SYMBOL_EYE_OPEN, "Show"); in selectors_create()
144 lv_list_add_btn(list, LV_SYMBOL_EYE_CLOSE, "Hide"); in selectors_create()
145 lv_list_add_btn(list, LV_SYMBOL_TRASH, "Delete"); in selectors_create()
146 lv_list_add_btn(list, LV_SYMBOL_COPY, "Copy"); in selectors_create()
[all …]
/lvgl-latest/demos/music/
Dlv_demo_music_list.c31 static lv_obj_t * list; variable
112 list = lv_obj_create(parent); in _lv_demo_music_list_create()
113 lv_obj_remove_style_all(list); in _lv_demo_music_list_create()
114 lv_obj_set_size(list, LV_HOR_RES, LV_VER_RES - LV_DEMO_MUSIC_HANDLE_SIZE); in _lv_demo_music_list_create()
115 lv_obj_set_y(list, LV_DEMO_MUSIC_HANDLE_SIZE); in _lv_demo_music_list_create()
116 lv_obj_add_style(list, &style_scrollbar, LV_PART_SCROLLBAR); in _lv_demo_music_list_create()
117 lv_obj_set_flex_flow(list, LV_FLEX_FLOW_COLUMN); in _lv_demo_music_list_create()
121 add_list_btn(list, track_id); in _lv_demo_music_list_create()
125 lv_obj_set_scroll_snap_y(list, LV_SCROLL_SNAP_CENTER); in _lv_demo_music_list_create()
130 return list; in _lv_demo_music_list_create()
[all …]
Dlv_demo_music.c35 static lv_obj_t * list; variable
125 list = _lv_demo_music_list_create(lv_scr_act()); in lv_demo_music()
218 lv_obj_scroll_by(list, 0, -300, LV_ANIM_ON); in auto_step_cb()
221 lv_obj_scroll_by(list, 0, 300, LV_ANIM_ON); in auto_step_cb()
/lvgl-latest/env_support/cmake/
Desp.cmake23 list(APPEND DEMO_SOURCES ${DEMO_WIDGETS_SOURCES})
27 list(APPEND DEMO_SOURCES ${DEMO_KEYPAD_AND_ENCODER_SOURCES})
31 list(APPEND DEMO_SOURCES ${DEMO_BENCHMARK_SOURCES})
35 list(APPEND DEMO_SOURCES ${DEMO_STRESS_SOURCES})
39 list(APPEND DEMO_SOURCES ${DEMO_MUSIC_SOURCES})
/lvgl-latest/docs/widgets/extra/
Dlist.md9 - `LV_PART_MAIN` The main part of the list that uses all the typical background properties
18 `lv_list_add_btn(list, icon, text)` adds a full-width button with an icon - that can be an image or…
23 `lv_list_add_text(list, text)` adds a text.
40 .. include:: ../../../examples/widgets/list/index.rst
Dindex.md15 list
Dcalendar.md41 The list of highlighted dates should be stored in a `lv_calendar_date_t` array loaded by `lv_calend…
48 ### Custom year list
50 Sets a custom year list with `lv_calendar_header_dropdown_set_year_list(calendar, years_list)`
51 where ``years_list`` is a pointer to the custom years list. It can be a constant string
/lvgl-latest/examples/widgets/list/
Dindex.rst5 .. lv_example:: widgets/list/lv_example_list_1
12 .. lv_example:: widgets/list/lv_example_list_2
/lvgl-latest/tests/src/test_cases/
Dtest_dropdown.c147 lv_obj_t * list = lv_dropdown_get_list(dd1); in test_dropdown_click() local
149 lv_test_mouse_click_at(list->coords.x1 + 5, list->coords.y2 - 25); in test_dropdown_click()
356 lv_obj_t * list = lv_dropdown_get_list(dd3); in test_dropdown_render_1() local
357 lv_obj_set_style_text_line_space(list, 5, 0); in test_dropdown_render_1()
358 lv_obj_set_style_bg_color(list, lv_color_hex3(0xf00), LV_PART_SELECTED | LV_STATE_CHECKED); in test_dropdown_render_1()
436 lv_obj_t * list = lv_dropdown_get_list(dd); in test_dropdown_should_list_on_top() local
437 TEST_ASSERT_EQUAL_PTR(lv_scr_act(), lv_obj_get_parent(list)); in test_dropdown_should_list_on_top()
438 TEST_ASSERT_EQUAL_INT(2, lv_obj_get_index(list)); in test_dropdown_should_list_on_top()
/lvgl-latest/examples/widgets/table/
Dindex.rst9 Lightweighted list from table
/lvgl-latest/examples/widgets/dropdown/
Dindex.rst2 Simple Drop down list
/lvgl-latest/env_support/rt-thread/
DSConscript63 list = os.listdir(cwd)
64 for d in list:

123