fsleyes.controls.scene3dtoolbar
¶
-
class
fsleyes.controls.scene3dtoolbar.
Scene3DToolBar
(parent, overlayList, displayCtx, frame, panel)¶ Bases:
fsleyes.controls.controlpanel.ControlToolBar
-
showCursorAndLegend
= <MagicMock name='mock.Boolean()' id='140735851538640'>¶ This property is linked to a button on the toolbar which allows the user to simultaneously toggle the
SceneOpts.showCursor
andScene3DOpts.showLegend
properties.
-
__init__
(parent, overlayList, displayCtx, frame, panel)¶ Create a
Scene3DToolBar
.- Parameters
parent – The
wx
parent object.overlayList – The
OverlayList
instance.displayCtx – The
DisplayContext
instance.frame – The
FSLeyesFrame
instance.panel – The
Scene3DPanel
instance.
-
destroy
()¶ Must be called when this
Scene3DToolBar
is no longer in use. Removes some property listeners, and calls the base class implementation.
-
static
supportedViews
()¶ Overrides
ControlMixin.supportedViews()
. TheScene3DToolBar
is only intended to be added toScene3DPanel
views.
-
_Scene3DToolBar__makeTools
()¶ Called by
__init__()
. Creates the toolbar widgets.
-
_Scene3DToolBar__showCursorAndLegendChanged
(*a)¶ Called when the
showCursorAndLegend
property is changed. Propagates the change on to theScene3DOpts.showCursor
andScene3DOpts.showLegend
properties.
-
__module__
= 'fsleyes.controls.scene3dtoolbar'¶
-