Menu

Report on GitHub

Customized back button header

A menu with a labeled "Back" button in the header and three titled sub pages.

A circular floating button appends new items and matching sub pages.

Build a menu with pages and a back button.

The static menu_* helpers build the menu: menu_page_create makes a hidden full-size page, menu_add_item adds clickable rows, and menu_set_load_page_event wires an item to reveal another page. Navigation is just toggling LV_OBJ_FLAG_HIDDEN on the pages and showing the header back button whenever we are off the root page.

A menu whose always-visible root back button pops a message box when tapped.

Settings menu with sidebar mode

A full Settings screen with sidebar navigation and a switch that toggles between sidebar and stacked modes.

Basic menu with sub page

A three-item main page whose third entry opens a hidden sub page.

Last updated on

On this page