fsleyes.controls.plottoolbar
This module provides the PlotToolBar class, a toolbar for use with
an OverlayPlotPanel.
- class fsleyes.controls.plottoolbar.PlotToolBar(parent, overlayList, displayCtx, plotPanel)[source]
Bases:
fsleyes.controls.controlpanel.ControlToolBarThe
PlotToolBaris a toolbar for use with anOverlayPlotPanel. It creates toolbar controls which are common to allOverlayPlotPaneltypes.- static supportedViews()[source]
The
PlotToolBaris restricted for use withOverlayPlotPanelviews. This method may be overridden by sub-classes.
- __init__(parent, overlayList, displayCtx, plotPanel)[source]
Create a
PlotToolBar.- Parameters
parent – The
wxparent object.overlayList – The
OverlayListinstance.displayCtx – The
DisplayContextinstance.plotPanel – The
PlotPanelinstance.
- destroy()[source]
Must be called when this
PlotToolBaris no longer needed. Clears some references and calls the base class implementation.
Returns a list containing the navigation order for tools added by this
PlotToolBar.
- getPlotPanel()[source]
Returns the
OverlayPlotPanelbound to thisPlotToolBar.
- __annotations__ = {}
- __module__ = 'fsleyes.controls.plottoolbar'