This repository has been archived by the owner on May 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Eric Olson edited this page Oct 6, 2017
·
1 revision
Purpose: To handle all the functions required for a fully working menu. This includes window -> window interaction, as well as general creation and deletion of windows and anything else directly related to the menu.
Functions:
def add_window(window):
Adds a window window to the MenuHandler for future manipulation
def show_window(window_title):
Brings a specified window window_title to the front and makes it visible
def hide_window(window_title):
Hides a specified window window_title from view
def increment_selection(self, windata):
TODO
def decrement_selection(self):
TODO
def run_instruction(self, menu_item):
TODO
def get_input(self, windata):
TODO
Purpose: To organize the contents and formatting of a window. Things such as adding text and manipulating the color, padding, and size can be found here. In other words, all of the smaller window only details should belong in this class.
Functions:
def set_padding(self, row_pad, col_pad):
TODO
def add_entry(self, window_title, entry_string, instruction):
TODO
def print_menu(self, windata):
TODO