diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-08 22:45:58 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-08 22:45:58 +0100 |
commit | 69fd2f3571d56e77e6cf8ed6fc6073f9bfb03b38 (patch) | |
tree | 48928c60b6ab1c36edfefc2ffa6a4adbfbb183e2 /scene | |
parent | 56522f7f8f3f49fe8f3850afa84debd5a108a032 (diff) | |
parent | 436cd910650d900c9c91f285e7412f4d920c06f0 (diff) |
Merge pull request #71064 from DarkMessiah/expose_clear_tabs
Expose TabBar::clear_tabs to GDScript
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/tab_bar.cpp | 1 |
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"))); |