neu-rah / ArduinoMenu

Arduino generic menu/interactivity system
GNU Lesser General Public License v2.1
931 stars 189 forks source link

Open a submenu programmatically #341

Open acaballero opened 3 years ago

acaballero commented 3 years ago

Hello,

I have a rather complex menu structure and I wanted to set up a few hotkeys (pushbuttons) to quickly access some of the most frequently accessed options. The only way I know this can be done is either by passing the right key sequences, or commands to the navigation object. But this can be cumbersome and, if the structure changes, prone to inconsistencies.

Is there a way a particular option of a submenu can be activated by, say, using a reference of it's object, defined at initialization?

Thanks.