navigate.view.popups.feature_list_popup.FeatureConfigPopup
- class navigate.view.popups.feature_list_popup.FeatureConfigPopup(root, *args, features=[], feature_name='', args_name=[], args_value=[], **kwargs)
Bases:
object
Feature Config Popup Widget
- __init__(root, *args, features=[], feature_name='', args_name=[], args_value=[], **kwargs)
Initialize the Feature Config Popup Widget
- Parameters:
root (tk.Tk) – Root window of the application
*args (list) – List of arguments
features (list) – List of features
feature_name (str) – Name of the feature
args_name (list) – List of arguments name
args_value (list) – List of arguments value
Methods
__init__
(root, *args[, features, ...])Initialize the Feature Config Popup Widget
build_widgets
(args_name, args_value[, ...])Build widgets for the popup
Get widgets
Attributes
Popup window
List of input widgets
Feature name widget
Parameter frame
- build_widgets(args_name, args_value, parameter_config=None)
Build widgets for the popup
- Parameters:
args_name (list) – List of arguments name
args_value (list) – List of arguments value
parameter_config (dict) – Dictionary of parameter configuration
- get_widgets()
Get widgets
- Returns:
List of input widgets
- Return type:
list
- feature_name_widget
Feature name widget
- Type:
- inputs
List of input widgets
- Type:
list
- parameter_frame
Parameter frame
- Type:
ttk.Frame