navigate.view.popups.acquire_popup.AcquirePopUp
- class navigate.view.popups.acquire_popup.AcquirePopUp(root: Tk, configuration: dict = None)
Bases:
CommonMethodsClass creates the popup that is generated when the Acquire button is pressed and Save File checkbox is selected.
- __init__(root: Tk, configuration: dict = None) → None
Initialize the AcquirePopUp class
- Parameters:
root (tk.Tk) – The root window
configuration (dict, optional) – The configuration dictionary containing channel information
Methods
__init__(root[, configuration])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
- 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
- configuration
Configuration dictionary
- Type:
dict
- inputs
Input dictionary.
- Type:
dict
- path_frame
EntryFrame object
- Type:
- tk
The root window
- Type:
tk.Tk