napari.utils.events

Classes

EmitterGroup

EmitterGroup instances manage a set of related EventEmitters.

Event

Class describing events that occur and can be reacted to with callbacks.

EventedDict

Mutable dictionary that emits events when altered.

EventedList

Mutable Sequence that emits events when altered.

EventedModel

A Model subclass that emits an event whenever a field value is changed.

EventedSet

An unordered collection of unique elements.

EventEmitter

Encapsulates a list of event callbacks.

NestableEventedList

Nestable Mutable Sequence that emits recursive events when altered.

SelectableEventedList

List model that also supports selection.

Selection

A model of selected items, with active and current item.

SupportsEvents

TypedMutableSequence

List mixin that enforces item type, and enables custom indexing.

Functions

napari.utils.events.disconnect_events(emitter, listener)[source]

Disconnect all events between an emitter group and a listener.

Parameters
napari.utils.events.set_event_tracing_enabled(enabled=True, cfg=None)[source]