navigate.view.popups.feature_list_popup.FeatureAdvancedSettingPopup
- class navigate.view.popups.feature_list_popup.FeatureAdvancedSettingPopup(root, *args, features=[], feature_name='', args_name=[], args_default_value=[], **kwargs)
Bases:
object
Feature Advanced Setting Popup Widget
- __init__(root, *args, features=[], feature_name='', args_name=[], args_default_value=[], **kwargs)
Initialize the Feature Advanced Setting Popup Widget
- Parameters:
root (tk.Tk) – Root window of the application
features (list) – List of features
feature_name (str) – Name of the feature
args_name (list) – List of arguments name
args_default_value (list) – List of arguments default value
Methods
__init__
(root, *args[, features, ...])Initialize the Feature Advanced Setting Popup Widget
add_new_row
(arg_name[, k, v])Add new row to the popup
build_widgets
(args_name[, parameter_config])Build widgets for the popup
delete_row
(arg_name, r)Delete row from the popup
Attributes
Popup window
Dictionary of input widgets
Dictionary of buttons
Parameter frame
Dictionary of argument frames
- add_new_row(arg_name, k='', v='')
Add new row to the popup
- Parameters:
arg_name (str) – Name of the argument
k (str) – Name of the function
v (str) – Value of the function
- build_widgets(args_name, parameter_config=None)
Build widgets for the popup
- Parameters:
args_name (list) – List of arguments name
parameter_config (dict) – Dictionary of parameter configuration
- delete_row(arg_name, r)
Delete row from the popup
- Parameters:
arg_name (str) – Name of the argument
r (int) – Row number
- arg_frames
Dictionary of argument frames
- Type:
dict
- buttons
Dictionary of buttons
- Type:
dict
- inputs
Dictionary of input widgets
- Type:
dict
- parameter_frame
Parameter frame
- Type:
ttk.Frame