BaseDataComboHelper#
- class glue.core.data_combo_helper.BaseDataComboHelper(state, selection_property, data_collection=None)#
Bases:
ComboHelperThis is a base class for helpers for combo boxes that need to show a list of data objects.
- Parameters:
- state
State The state to which the selection property belongs
- selection_property
SelectionCallbackProperty The selection property representing the combo.
- data_collection
DataCollection The data collection to which the datasets belong - this is needed because if a dataset is removed from the data collection, we want to remove it here.
- state
Attributes Summary
Methods Summary
add_component_id_combo(combo)refresh(*args)refresh_component_ids(*args)register_to_hub(hub)Attributes Documentation
- hub#
Methods Documentation
- add_component_id_combo(combo)#
- refresh(*args)#
- refresh_component_ids(*args)#
- register_to_hub(hub)#