napari.utils.notifications

Classes

ErrorNotification

Notification at an Error severity level.

Event

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

EventEmitter

Encapsulates a list of event callbacks.

Notification

A Notifcation event.

NotificationManager

A notification manager, to route all notifications through.

NotificationSeverity

Severity levels for the notification dialog.

StringEnum

An enumeration.

TracebackType

alias of types.TracebackType

WarningNotification

Notification at a Warning severity level.

auto

Instances are replaced with an appropriate value in Enum class suites.

datetime

The year, month and day arguments are required.

Functions

napari.utils.notifications.capture_exception(*_, **__)
napari.utils.notifications.install_error_reporter(*_, **__)
napari.utils.notifications.show_console_notification(notification: napari.utils.notifications.Notification)[source]

Show a notification in the console.

napari.utils.notifications.show_error(message: str)[source]

Show an error in the notification manager.

napari.utils.notifications.show_info(message: str)[source]

Show an info message in the notification manager.

napari.utils.notifications.show_warning(message: str)[source]

Show a warning in the notification manager.