fsleyes.actions.removealloverlays
This module provides the RemoveAllOverlaysAction, which allows the
uesr to remove all overlays from the OverlayList.
- class fsleyes.actions.removealloverlays.RemoveAllOverlaysAction(overlayList, displayCtx, frame)[source]
Bases:
fsleyes.actions.base.ActionThe
RemoveAllOverlaysActionallows the uesr to remove all overlays from theOverlayList.- __init__(overlayList, displayCtx, frame)[source]
Create a
RemoveAllOverlaysAction.- Parameters
overlayList – The
OverlayList.displayCtx – The
DisplayContext.frame – The
FSLeyesFrame.
- destroy()[source]
Must be called when this
RemoveAllOverlaysActionis no longer needed. Removes property listeners, and then callsAction.destroy().
- __overlayListChanged(*a)
Called when the
OverlayListchanges. Updates theAction.enabledflag
- __removeAllOverlays()
Removes all overlays from the
OverlayList.
- __annotations__ = {}
- __module__ = 'fsleyes.actions.removealloverlays'