navigate.view.popups.feature_list_popup.FeatureCollectionInput
- class navigate.view.popups.feature_list_popup.FeatureCollectionInput(parent, name, spec, value=None)
Bases:
objectFixed mapping editor used for structured feature parameters.
- __init__(parent, name, spec, value=None)
Create a fixed mapping input from a
CollectionSpec.
Methods
__init__(parent, name, spec[, value])Create a fixed mapping input from a
CollectionSpec.create_variable(spec, value)Create a Tk variable suitable for a collection field.
create_widget(row, spec, variable)Render one collection field.
format_mapping_value(value)Return a readable literal for nested mapping-like values.
get()Return the collection as a field mapping.
grid(*args, **kwargs)Delegate geometry management to the collection frame.
set(value)Set collection values from a mapping.
Enable or disable collection fields when the null option changes.
to_plain_value(value)Convert proxy mappings and nested containers to built-in values.
Attributes
Expose the container through the same attribute as
LabelInput.- create_variable(spec, value)
Create a Tk variable suitable for a collection field.
- create_widget(row, spec, variable)
Render one collection field.
- classmethod format_mapping_value(value)
Return a readable literal for nested mapping-like values.
- get()
Return the collection as a field mapping.
- grid(*args, **kwargs)
Delegate geometry management to the collection frame.
- set(value)
Set collection values from a mapping.
- sync_widget_state()
Enable or disable collection fields when the null option changes.
- classmethod to_plain_value(value)
Convert proxy mappings and nested containers to built-in values.
- property widget
Expose the container through the same attribute as
LabelInput.