summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorStanislav Labzyuk <stanislav.labzyuk@gmail.com>2023-01-08 13:52:57 +0100
committerStanislav Labzyuk <stanislav.labzyuk@gmail.com>2023-01-08 13:52:57 +0100
commit436cd910650d900c9c91f285e7412f4d920c06f0 (patch)
treea164e45e02aebeab16deeee782438b43a537b8db /scene
parentfcba87e696d58912838d8a4a6987b10efa28e78f (diff)
Expose TabBar::clear_tabs to GDScript
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/tab_bar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/tab_bar.cpp b/scene/gui/tab_bar.cpp
index ce6ccc3fa4..eca6cb3eef 100644
--- a/scene/gui/tab_bar.cpp
+++ b/scene/gui/tab_bar.cpp
@@ -1577,6 +1577,7 @@ void TabBar::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_scroll_to_selected"), &TabBar::get_scroll_to_selected);
ClassDB::bind_method(D_METHOD("set_select_with_rmb", "enabled"), &TabBar::set_select_with_rmb);
ClassDB::bind_method(D_METHOD("get_select_with_rmb"), &TabBar::get_select_with_rmb);
+ ClassDB::bind_method(D_METHOD("clear_tabs"), &TabBar::clear_tabs);
ADD_SIGNAL(MethodInfo("tab_selected", PropertyInfo(Variant::INT, "tab")));
ADD_SIGNAL(MethodInfo("tab_changed", PropertyInfo(Variant::INT, "tab")));