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.Action
The
RemoveAllOverlaysAction
allows 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
RemoveAllOverlaysAction
is no longer needed. Removes property listeners, and then callsAction.destroy()
.
- __overlayListChanged(*a)¶
Called when the
OverlayList
changes. Updates theAction.enabled
flag
- __removeAllOverlays()¶
Removes all overlays from the
OverlayList
.
- __annotations__ = {}¶
- __module__ = 'fsleyes.actions.removealloverlays'¶