fsleyes.controls.scene3dtoolbar¶
-
class
fsleyes.controls.scene3dtoolbar.Scene3DToolBar(parent, overlayList, displayCtx, frame, panel)[source]¶ Bases:
fsleyes.controls.controlpanel.ControlToolBar-
showCursorAndLegend= <MagicMock name='mock.Boolean()' id='281473497326640'>¶ This property is linked to a button on the toolbar which allows the user to simultaneously toggle the
SceneOpts.showCursorandScene3DOpts.showLegendproperties.
-
__init__(parent, overlayList, displayCtx, frame, panel)[source]¶ Create a
Scene3DToolBar.- Parameters
parent – The
wxparent object.overlayList – The
OverlayListinstance.displayCtx – The
DisplayContextinstance.frame – The
FSLeyesFrameinstance.panel – The
Scene3DPanelinstance.
-
destroy()[source]¶ Must be called when this
Scene3DToolBaris no longer in use. Removes some property listeners, and calls the base class implementation.
-
static
supportedViews()[source]¶ Overrides
ControlMixin.supportedViews(). TheScene3DToolBaris only intended to be added toScene3DPanelviews.
-
_Scene3DToolBar__makeTools()¶ Called by
__init__(). Creates the toolbar widgets.
-
_Scene3DToolBar__showCursorAndLegendChanged(*a)¶ Called when the
showCursorAndLegendproperty is changed. Propagates the change on to theScene3DOpts.showCursorandScene3DOpts.showLegendproperties.
-
__module__= 'fsleyes.controls.scene3dtoolbar'¶
-