-
Notifications
You must be signed in to change notification settings - Fork 0
Settings
GrayAi0 edited this page Feb 11, 2021
·
1 revision
If you want to edit the menu settings like the characters you need to show
import ConsoleMenu.settings as settings new_settings = settings.default_menu_settings # This is the default settings that will be used by Menu
# Change the settings you want
new_settings["left-character"] = "["
new_settings["right-character"] = "]"
# To applay this settings do this steps
# When you create a new menu
# Just put the new_settings into the class init
itemMenu = Menu('Items', (0,), settings=new_settings)
# Or when you want to change it when the menu pool running
itemMenu.settings = new_settings
itemMenu._rendermenu() # Render the menu to view the new settings