summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-10 10:44:31 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-10 10:44:31 +0100
commite63500344faf9ac59eb8c51c9e2cd993b49b2945 (patch)
tree1b3417825bed5aae2b56f7db98b04d58a71fce3a /scene
parent269fa200d04ae96b0114b788e18df638c5fb164b (diff)
parent9eeed06e65cbf5c3e124bd985f16e57807dbc8d5 (diff)
Merge pull request #71056 from marzecdawid/add-tree-deselect-all-to-gdscript
Expose Tree::deselect_all to GDScript
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/tree.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp
index ace3edfcb0..e76abe57ba 100644
--- a/scene/gui/tree.cpp
+++ b/scene/gui/tree.cpp
@@ -5180,6 +5180,7 @@ void Tree::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_pressed_button"), &Tree::get_pressed_button);
ClassDB::bind_method(D_METHOD("set_select_mode", "mode"), &Tree::set_select_mode);
ClassDB::bind_method(D_METHOD("get_select_mode"), &Tree::get_select_mode);
+ ClassDB::bind_method(D_METHOD("deselect_all"), &Tree::deselect_all);
ClassDB::bind_method(D_METHOD("set_columns", "amount"), &Tree::set_columns);
ClassDB::bind_method(D_METHOD("get_columns"), &Tree::get_columns);