fsleyes.views.shellpanel
This module provides the ShellPanel class, a FSLeyes view
which contains an interactive Python shell.
- class fsleyes.views.shellpanel.ShellPanel(parent, overlayList, displayCtx, frame)[source]
Bases:
fsleyes.views.viewpanel.ViewPanelA
ShellPanelis aViewPanelwhich contains an interactive Python shell.A
ShellPanelallows the user to programmatically interact with theOverlayList, and with theDisplayContextandSceneOptsinstances associated with theCanvasPanelthat owns thisShellPanel.- __init__(parent, overlayList, displayCtx, frame)[source]
Create a
ShellPanel.- Parameters
parent – The
wxparent object, assumed to be theCanvasPanelthat owns thisShellPanel.overlayList – The
OverlayList.displayCtx – The
DisplayContextof theCanvasPanelthat owns thisShellPanel.frame – The
FSLeyesFramethat owns thisShellPanel.
- destroy()[source]
Must be called when this
ShellPanelis no longer needed. Calls theFSLeyesPanel.destroy()method.
- getActions()[source]
Overrides
ActionProvider.getActions(). Currently returns an empty list.
- __annotations__ = {}
- __module__ = 'fsleyes.views.shellpanel'