Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
EditorToaster
Hereda: HBoxContainer < BoxContainer < Container < Control < CanvasItem < Node < Object
Gestiona las notificaciones toast dentro del editor.
Descripción
This object manages the functionality and display of toast notifications within the editor, ensuring immediate and informative alerts are presented to the user.
Note: This class shouldn't be instantiated directly. Instead, access the singleton using EditorInterface.get_editor_toaster().
Métodos
void |
push_toast(message: String, severity: Severity = 0, tooltip: String = "") |
Enumeraciones
enum Severity: 🔗
Severity SEVERITY_INFO = 0
La notificación toast se mostrará con una severidad INFO.
Severity SEVERITY_WARNING = 1
La notificación toast se mostrará con una severidad WARNING y tendrá un color correspondiente.
Severity SEVERITY_ERROR = 2
La notificación toast se mostrará con una severidad ERROR y tendrá un color correspondiente.
Descripciones de Métodos
void push_toast(message: String, severity: Severity = 0, tooltip: String = "") 🔗
Muestra una notificación toast en el editor.