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.ControlToolBar
The
PlotToolBar
is a toolbar for use with anOverlayPlotPanel
. It creates toolbar controls which are common to allOverlayPlotPanel
types.-
static
supportedViews
()[source]¶ The
PlotToolBar
is restricted for use withOverlayPlotPanel
views. This method may be overridden by sub-classes.
-
__init__
(parent, overlayList, displayCtx, plotPanel)[source]¶ Create a
PlotToolBar
.- Parameters
parent – The
wx
parent object.overlayList – The
OverlayList
instance.displayCtx – The
DisplayContext
instance.plotPanel – The
PlotPanel
instance.
-
destroy
()[source]¶ Must be called when this
PlotToolBar
is 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
OverlayPlotPanel
bound to thisPlotToolBar
.
-
__module__
= 'fsleyes.controls.plottoolbar'¶
-
static