CustomWidgetBase¶
-
class
glue.viewers.custom.qt.custom_viewer.
CustomWidgetBase
(session, parent=None)[source]¶ Bases:
glue.viewers.common.qt.data_viewer.DataViewer
Base Qt widget class for custom viewers
Attributes Summary
LABEL
coordinator_cls
Methods Summary
add_data
(data)Add a new data set to the widget add_subset
(subset)Add a subset to the widget make_toolbar
()options_widget
()register_to_hub
(hub)settings_changed
()Called when UI settings change unregister
(hub)Attributes Documentation
-
LABEL
= ''¶
-
coordinator_cls
= None¶
Methods Documentation
-
add_data
(data)[source]¶ Add a new data set to the widget
Returns: True if the addition was expected, False otherwise
-