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)¶ Bases:
fsleyes.actions.base.Action
The
RemoveAllOverlaysAction
allows the uesr to remove all overlays from theOverlayList
.-
__init__
(overlayList, displayCtx, frame)¶ Create a
RemoveAllOverlaysAction
.Parameters: - overlayList – The
OverlayList
. - displayCtx – The
DisplayContext
. - frame – The
FSLeyesFrame
.
- overlayList – The
-
destroy
()¶ Must be called when this
RemoveAllOverlaysAction
is no longer needed. Removes property listeners, and then callsAction.destroy()
.
-
_RemoveAllOverlaysAction__overlayListChanged
(*a)¶ Called when the
OverlayList
changes. Updates theAction.enabled
flag
-
_RemoveAllOverlaysAction__removeAllOverlays
()¶ Removes all overlays from the
OverlayList
.
-
__module__
= 'fsleyes.actions.removealloverlays'¶
-