Lines Matching refs:menu
4 The menu widget can be used to easily create multi-level menus. It handles the traversal between pa…
7 The menu widget is built from the following objects:
21 ### Create a menu
22 `lv_menu_create(parent)` creates a new empty menu.
30 You can set header modes with `lv_menu_set_mode_header(menu, LV_MENU_HEADER...)`.
37 You can set root back button modes with `lv_menu_set_mode_root_back_btn(menu, LV_MENU_ROOT_BACK_BTN…
39 ### Create a menu page
40 `lv_menu_page_create(menu, title)` creates a new empty menu page.
43 ### Set a menu page in the main area
44 Once a menu page has been created, you can set it to the main area with `lv_menu_set_page(menu, pag…
46 ### Set a menu page in the sidebar
47 Once a menu page has been created, you can set it to the sidebar with `lv_menu_set_sidebar_page(men…
49 ### Linking between menu pages
50 …btn obj, you want it to open up a new page, use `lv_menu_set_load_page_event(menu, obj, new page)`.
52 ### Create a menu container, section, separator
53 The following objects can be created so that it is easier to style the menu:
63 …- `lv_menu_get_cur_main_page(menu)` returns a pointer to menu page that is currently displayed in …
64 …- `lv_menu_get_cur_sidebar_page(menu)` returns a pointer to menu page that is currently displayed …
65 …ked. `LV_OBJ_FLAG_EVENT_BUBBLE` is enabled on the buttons so you can add events to the menu itself.
66 - `lv_menu_back_btn_is_root(menu, btn)` to check if btn is root back btn
73 No keys are handled by the menu widget.
81 .. include:: ../../../examples/widgets/menu/index.rst