navigate.view.popups.feature_list_popup.FeatureConfigPopup
- class navigate.view.popups.feature_list_popup.FeatureConfigPopup(root, *args, features=[], palette_features=None, feature_name='', args_name=[], args_value=[], **kwargs)
Bases:
objectFeature Config Popup Widget
- __init__(root, *args, features=[], palette_features=None, 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
palette_features (list, optional) – Feature names displayed in the left-side palette
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
set_feature_description(description)Set the feature-level description shown in the parameter editor.
Attributes
Popup window
Container for the feature node palette buttons.
List of input widgets
Feature name widget
Feature description displayed above parameter inputs.
Parameter frame
- build_widgets(args_name, args_value, parameter_config=None, parameter_schema=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
parameter_schema (dict) – Dictionary of feature parameter schema definitions
- get_widgets()
Get widgets
- Returns:
List of input widgets
- Return type:
list
- set_feature_description(description)
Set the feature-level description shown in the parameter editor.
- feature_description
Feature description displayed above parameter inputs.
- Type:
tk.StringVar
- feature_name_widget
Feature name widget
- Type:
- inputs
List of input widgets
- Type:
list
- palette_items
Container for the feature node palette buttons.
- Type:
ttk.Frame
- parameter_frame
Parameter frame
- Type:
ttk.Frame