Inheritance #

EditorToaster
Table of contents

EditorToaster #

Node, editor, not_builtin_classes

Manages toast notifications within the editor.

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.

Members #

Methods #

func push_toast(tooltip: String = "") -> void#

Pushes a toast notification to the editor for display.

Annotations #

Constants #

const SEVERITY_INFO = 0 enum Severity#

Toast will display with an INFO severity.

const SEVERITY_WARNING = 1 enum Severity#

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

const SEVERITY_ERROR = 2 enum Severity#

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

Constructors #

Enums #

Severity#

enum Severity { SEVERITY_INFO = 0, SEVERITY_WARNING = 1, SEVERITY_ERROR = 2, }

Operators #

Signals #

Theme Items #

Tutorials #