Up to date

This page is up to date for Blazium 0.4.90 (4.3). If you still find outdated information, please open an issue.

EditorToaster๏ƒ

Inherits: HBoxContainer < BoxContainer < Container < Control < CanvasItem < Node < Object

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(message: String, severity: Severity = 0, tooltip: String = "")


Enumerations๏ƒ

enum Severity: ๐Ÿ”—

Severity SEVERITY_INFO = 0

Toast will display with an INFO severity.

Severity SEVERITY_WARNING = 1

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

Severity SEVERITY_ERROR = 2

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


Method Descriptions๏ƒ

void push_toast(message: String, severity: Severity = 0, tooltip: String = "") ๐Ÿ”—

Pushes a toast notification to the editor for display.