navigate.view.popups.microscope_setting_popup_window.MicroscopeSettingPopupWindow
- class navigate.view.popups.microscope_setting_popup_window.MicroscopeSettingPopupWindow(root, microscope_info, *args, **kwargs)
Bases:
object
Popup window with waveform parameters for galvos, remote focusing, etc.
- __init__(root, microscope_info, *args, **kwargs)
Initialize the popup window
- Parameters:
root (tkinter.Tk) – Root window
microscope_info (dict) – Dictionary of microscope information
*args – Variable length argument list
**kwargs – Arbitrary keyword arguments
Methods
__init__
(root, microscope_info, *args, **kwargs)Initialize the popup window
This function returns the dictionary that holds the buttons.
This function returns a dictionary of all the variables tied to each widget.
This function returns the dictionary that holds the input widgets.
list_microscope_info
(microscope_info)List the microscope information in the popup window
Attributes
PopUp window class
Dictionary of input widgets
Dictionary of buttons
Frame for microscope information
List of labels
- get_buttons()
This function returns the dictionary that holds the buttons.
The key is the button name, value is the button.
- Returns:
Dictionary of buttons
- Return type:
dict
- get_variables()
This function returns a dictionary of all the variables tied to each widget.
The key is the widget name, value is the variable associated.
- Returns:
Dictionary of variables
- Return type:
dict
- get_widgets()
This function returns the dictionary that holds the input widgets.
The key is the widget name, value is the LabelInput class that has all the data.
- Returns:
Dictionary of widgets
- Return type:
dict
- list_microscope_info(microscope_info)
List the microscope information in the popup window
- Parameters:
microscope_info (dict) – Dictionary of microscope information
- buttons
Dictionary of buttons
- Type:
dict
- inputs
Dictionary of input widgets
- Type:
dict
- labels
List of labels
- Type:
list
- microscopes_frame
Frame for microscope information
- Type:
ttk.Frame