Pages¶
Main Page¶
-
class
pyman.Main.
Main
(title, actions=None, chars=None)[source]¶ Bases:
pyman.Page.Page
-
title
¶ The title to display for all menus
-
chars
¶ A list of characters to use when displaying the menu.
- chars[0]: Character to use for the Title Border. Defaults to ‘=’
- chars[1]: Character to use for the Menu Border. Defaults to ‘-‘
- chars[2]: Characters to use for each entry in the menu. Defaults to ‘) ‘
-
current
¶ A list that houses the stack of pages.
This is used then executing the Action
pyman.Actions.Back
-
current_title
¶ The current title that is being displayed
-
is_automated
¶ A boolean that to determines if the CLI is running in automated mode.
This becomes True if you run pymain.Main.cli() with a list of commands, otherwise it is False.
-