diff options
author | lupoDharkael <izhe@hotmail.es> | 2018-10-07 18:25:57 +0200 |
---|---|---|
committer | lupoDharkael <izhe@hotmail.es> | 2019-09-04 12:42:08 +0200 |
commit | 306e64a9f58f30a29f256a20ceccafd1ff7d027c (patch) | |
tree | 1f1684ce6ca0e977bc7fb0c3fce4fef4d708ea91 /scene/gui/tree.h | |
parent | c432ce4ee15fc396b2bccbbe2661b5bd34b9bee1 (diff) | |
download | redot-engine-306e64a9f58f30a29f256a20ceccafd1ff7d027c.tar.gz |
Add call_recursive method to TreeItem
Diffstat (limited to 'scene/gui/tree.h')
-rw-r--r-- | scene/gui/tree.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/tree.h b/scene/gui/tree.h index 551600109e..5995cd7b2a 100644 --- a/scene/gui/tree.h +++ b/scene/gui/tree.h @@ -177,6 +177,8 @@ protected: remove_child(Object::cast_to<TreeItem>(p_child)); } + Variant _call_recursive_bind(const Variant **p_args, int p_argcount, Variant::CallError &r_error); + public: /* cell mode */ void set_cell_mode(int p_column, TreeCellMode p_mode); @@ -283,6 +285,8 @@ public: void set_disable_folding(bool p_disable); bool is_folding_disabled() const; + void call_recursive(const StringName &p_method, const Variant **p_args, int p_argcount, Variant::CallError &r_error); + ~TreeItem(); }; |