mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add copy to toast notification
This commit is contained in:
parent
893bbdfde8
commit
81a7a2c50c
2 changed files with 17 additions and 1 deletions
|
|
@ -75,6 +75,7 @@ private:
|
|||
bool popped = false;
|
||||
|
||||
// Buttons
|
||||
Button *copy_button = nullptr;
|
||||
Button *close_button = nullptr;
|
||||
|
||||
// Messages
|
||||
|
|
@ -117,6 +118,7 @@ public:
|
|||
void popup_str(const String &p_message, Severity p_severity = SEVERITY_INFO, const String &p_tooltip = String());
|
||||
void close(Control *p_control);
|
||||
void instant_close(Control *p_control);
|
||||
void copy(Control *p_control);
|
||||
|
||||
EditorToaster();
|
||||
~EditorToaster();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue