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 the OverlayList.

__init__(overlayList, displayCtx, frame)[source]

Create a RemoveAllOverlaysAction.

Parameters
destroy()[source]

Must be called when this RemoveAllOverlaysAction is no longer needed. Removes property listeners, and then calls Action.destroy().

_RemoveAllOverlaysAction__overlayListChanged(*a)

Called when the OverlayList changes. Updates the Action.enabled flag

_RemoveAllOverlaysAction__removeAllOverlays()

Removes all overlays from the OverlayList.

__module__ = 'fsleyes.actions.removealloverlays'