ESPHome  2023.11.6
Data Structures | Typedefs | Enumerations
esphome::display_menu_base Namespace Reference

Data Structures

class  DisplayMenuComponent
 Class to display a hierarchical menu. More...
 
class  DisplayMenuOnEnterTrigger
 
class  DisplayMenuOnLeaveTrigger
 
class  DisplayMenuOnNextTrigger
 
class  DisplayMenuOnPrevTrigger
 
class  DisplayMenuOnValueTrigger
 
class  DownAction
 
class  EnterAction
 
class  HideAction
 
class  IsActiveCondition
 
class  LeftAction
 
class  MenuItem
 
class  MenuItemCommand
 
class  MenuItemCustom
 
class  MenuItemEditable
 
class  MenuItemMenu
 
class  MenuItemNumber
 
class  MenuItemSelect
 
class  MenuItemSwitch
 
class  RightAction
 
class  ShowAction
 
class  ShowMainAction
 
class  UpAction
 

Typedefs

using value_getter_t = std::function< std::string(const MenuItem *)>
 

Enumerations

enum  MenuMode { MENU_MODE_ROTARY, MENU_MODE_JOYSTICK }
 
enum  MenuItemType {
  MENU_ITEM_LABEL, MENU_ITEM_MENU, MENU_ITEM_BACK, MENU_ITEM_SELECT,
  MENU_ITEM_NUMBER, MENU_ITEM_SWITCH, MENU_ITEM_COMMAND, MENU_ITEM_CUSTOM
}
 

Typedef Documentation

◆ value_getter_t

using esphome::display_menu_base::value_getter_t = typedef std::function<std::string(const MenuItem *)>

Definition at line 34 of file menu_item.h.

Enumeration Type Documentation

◆ MenuItemType

Enumerator
MENU_ITEM_LABEL 
MENU_ITEM_MENU 
MENU_ITEM_BACK 
MENU_ITEM_SELECT 
MENU_ITEM_NUMBER 
MENU_ITEM_SWITCH 
MENU_ITEM_COMMAND 
MENU_ITEM_CUSTOM 

Definition at line 21 of file menu_item.h.

◆ MenuMode

Enumerator
MENU_MODE_ROTARY 
MENU_MODE_JOYSTICK 

Definition at line 12 of file display_menu_base.h.