navigate.view.custom_widgets.common.CommonMethods
- class navigate.view.custom_widgets.common.CommonMethods
- Bases: - object- This class is a collection of common methods for handling variables, widgets, and buttons. - __init__()
 - Methods - __init__()- Get the buttons of the popup - This function returns a dictionary of all the variables that are tied to each widget name. - This function returns the dictionary that holds the widgets. - get_buttons() → Dict[str, Button]
- Get the buttons of the popup - This function returns the dictionary that holds the buttons. The key is the button name, value is the button. - Returns:
- buttons – Dictionary of all the buttons 
- Return type:
- Dict[str, ttk.Button] 
 
 - get_variables() → Dict[str, Any]
- This function returns a dictionary of all the variables that are tied to each widget name. - The key is the widget name, value is the variable associated. - Returns:
- variables – The dictionary that holds the variables. 
- Return type:
- dict 
 
 - get_widgets() → Dict[str, Any]
- This function returns the dictionary that holds the widgets. - The key is the widget name, value is the LabelInput class that has all the data. - Returns:
- widgets – The dictionary that holds the widgets. 
- Return type:
- dict