TB2026-YDS Firmware
Loading...
Searching...
No Matches
menu_item_t Struct Reference

A single menu row. More...

#include <menu_item.h>

Data Fields

const char * label
screen_tnavigate_to
void(* action )(void)

Detailed Description

A single menu row.

On SELECT, navigate_to takes priority: if non-NULL the navigator pushes it, otherwise action is called.

Field Documentation

◆ action

void(* menu_item_t::action) (void)

Called when selected and navigate_to is NULL.

◆ label

const char* menu_item_t::label

Text drawn for the row.

◆ navigate_to

screen_t* menu_item_t::navigate_to

Screen pushed when selected, if non-NULL.


The documentation for this struct was generated from the following file: