summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Labzyuk <stanislav.labzyuk@gmail.com>2020-05-06 01:51:13 +0700
committerStanislav Labzyuk <stanislav.labzyuk@gmail.com>2020-05-06 14:47:19 +0700
commitac8814624dcf7ca4161198054fcbb84a907fe341 (patch)
tree6f440f039ed06d0e565929311a813e274af18339
parent4d50f747d5250e88cf2c35039af23eb3ac28aa4f (diff)
Bind set_suffix/get_suffix in Tree
-rw-r--r--scene/gui/tree.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp
index aad36ebf02..329c1085df 100644
--- a/scene/gui/tree.cpp
+++ b/scene/gui/tree.cpp
@@ -779,6 +779,9 @@ void TreeItem::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_text", "column", "text"), &TreeItem::set_text);
ClassDB::bind_method(D_METHOD("get_text", "column"), &TreeItem::get_text);
+ ClassDB::bind_method(D_METHOD("set_suffix", "column", "text"), &TreeItem::set_suffix);
+ ClassDB::bind_method(D_METHOD("get_suffix", "column"), &TreeItem::get_suffix);
+
ClassDB::bind_method(D_METHOD("set_icon", "column", "texture"), &TreeItem::set_icon);
ClassDB::bind_method(D_METHOD("get_icon", "column"), &TreeItem::get_icon);