Skip to content

ngdb.menu

Code for loading and holding guide menus.

Menu

Menu(guide)

Bases: PromptCollection

Class that loads and holds the details of a menu in the guide.

Parameters:

Name Type Description Default

guide

GuideReader

The reader object for the guide.

required

title property

title

The title of the menu.

__repr__

__repr__()

Get the string representation of the menu.

Returns:

Type Description
str

The title of the menu.

__str__

__str__()

Get the string representation of the menu.

Returns:

Type Description
str

The title of the menu.