navigate.view.main_window_content.camera_tab.FramerateInfo
- class navigate.view.main_window_content.camera_tab.FramerateInfo(settings_tab: CameraSettingsTab, *args: tuple, **kwargs: dict)
Bases:
LabelframeFramerate Info Frame.
This class generates the framerate label frame. Widgets can be adjusted below. Entry values need to be set in the controller. The widgets can be found in the dictionary by using the first word in the label, after using get_widgets
The variables tied to each widget can be accessed via the widget directly or with the dictionary generated by get_variables.
- __init__(settings_tab: CameraSettingsTab, *args: tuple, **kwargs: dict) → None
Initialize the Framerate Info Frame
- Parameters:
settings_tab (CameraSettingsTab) – The settings tab that the frame will be placed in.
*args (tuple) – Positional arguments for ttk.LabelFrame
**kwargs (dict) – Keyword arguments for ttk.LabelFrame
Methods
__init__(settings_tab, *args, **kwargs)Initialize the Framerate Info Frame
Get Variables
Get Widgets
Attributes
- get_variables() → dict
Get Variables
This function returns a dictionary of all variables tied to each widget.
The key is the widget name, value is the variable associated.
- Returns:
variables – Dictionary of all the variables tied to each widget.
- Return type:
dict
- get_widgets() → dict
Get Widgets
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:
self.inputs – Dictionary of all the widgets in the frame.
- Return type:
dict
- inputs
Dictionary of all the widgets in the frame.
- Type:
dict
- labels
List of all the labels for the widgets.
- Type:
list
- names
List of all the names for the widget values.
- Type:
list
- read_only
List of all the read only values for the widgets.
- Type:
list