get_viewer_tools

get_viewer_tools#

glue_qt.viewers.common.data_viewer.get_viewer_tools(cls, tools=None, subtools=None)#

Given a viewer class, find all the tools and subtools to include in the viewer.

Parameters:
clstype

The viewer class for which to look for tools.

toolslist

The list to add the tools to - this is modified in-place.

subtoolsdict

The dictionary to add the subtools to - this is modified in-place.