navigate.view.popups.acquire_popup.AcquirePopUp
- class navigate.view.popups.acquire_popup.AcquirePopUp(root: Tk)
Bases:
CommonMethods
Class creates the popup that is generated when the Acquire button is pressed and Save File checkbox is selected.
- __init__(root: Tk) → None
Initialize the AcquirePopUp class
- Parameters:
root (tk.Tk) – The root window
Methods
__init__
(root)Initialize the AcquirePopUp class
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.
Attributes
The root window
Width of the first column
Width of the second column
Button dictionary.
Input dictionary.
ButtonFrame object
EntryFrame object
TabFrame object
- 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
- button_frame
ButtonFrame object
- Type:
- buttons
Button dictionary.
- Type:
dict
- column1_width
Width of the first column
- Type:
int
- column2_width
Width of the second column
- Type:
int
- inputs
Input dictionary.
- Type:
dict
- path_frame
EntryFrame object
- Type:
- tk
The root window
- Type:
tk.Tk