Show menu

Previous chapterNext chapter Show allShow all    Hide allHide all

With this function the display of a main menu is realized. As parameters the name of a main menu and an action type are needed.

Possible actions are:

Show menu

The selected menu is displayed.

Hide menu

The selected menu is hidden.

Change menu

The current menu is hidden and the selected menu is displayed instead.

If no menu exists

The selected menu is displayed, if no menu is displayed at the moment.