diff options
author | Mansur Isaev <737dab2f169a@mail.ru> | 2024-03-07 15:18:27 +0400 |
---|---|---|
committer | Mansur Isaev <737dab2f169a@mail.ru> | 2024-04-23 08:28:48 +0400 |
commit | b37ddfc606a5cff69f7ba8dd4bd2ee3c09b6b5c2 (patch) | |
tree | fe2f23d468544cf254d2d93e0759fbe51f65b613 /scene/gui/tab_container.h | |
parent | 7abe0c6014022874378cb64a11b26b0f0f178324 (diff) | |
download | redot-engine-b37ddfc606a5cff69f7ba8dd4bd2ee3c09b6b5c2.tar.gz |
Add tab tooltip text
Diffstat (limited to 'scene/gui/tab_container.h')
-rw-r--r-- | scene/gui/tab_container.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/tab_container.h b/scene/gui/tab_container.h index 8645a6d14e..c11d9824e7 100644 --- a/scene/gui/tab_container.h +++ b/scene/gui/tab_container.h @@ -155,6 +155,9 @@ public: void set_tab_title(int p_tab, const String &p_title); String get_tab_title(int p_tab) const; + void set_tab_tooltip(int p_tab, const String &p_tooltip); + String get_tab_tooltip(int p_tab) const; + void set_tab_icon(int p_tab, const Ref<Texture2D> &p_icon); Ref<Texture2D> get_tab_icon(int p_tab) const; |