Class reference

EditorToaster

Inherits HBoxContainer

Manages toast notifications within the editor.

Description

This object manages the functionality and display of toast notifications within the editor, ensuring timely and informative alerts are presented to users. Note: This class shouldn't be instantiated directly. Instead, access the singleton using EditorInterface.get_editor_toaster().

Methods

void push_toast(String message, int severity = 0, String tooltip = "")

Pushes a toast notification to the editor for display.

Constants

SEVERITY_INFO = 0

Enum: Severity

Toast will display with an INFO severity.

SEVERITY_WARNING = 1

Enum: Severity

Toast will display with a WARNING severity and have a corresponding color.

SEVERITY_ERROR = 2

Enum: Severity

Toast will display with an ERROR severity and have a corresponding color.

Source revision 5592dc3a7a61
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.