Render the current menu

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_menu_show_menu

Purpose

Render the menu model using the shared SolidGroundUX menu renderer.

Inputs (globals)

  • SGND_MENU_SHOW_TOGGLEBAR
  • 1 (default) renders the management-console status/legend bar.
  • 0 renders only the title, groups, items, and page header.
  • SGND_CONSOLE_PREAMBLE_HANDLER (optional): a caller-owned function that prints information just below the menu title, before groups.

Returns

0 after rendering.

Usage

  SGND_MENU_SHOW_TOGGLEBAR=0
  sgnd_menu_show_menu