From e3712cf68965a5e49c3a7e640fcd4bb7bfee81ae Mon Sep 17 00:00:00 2001 From: Stanislav Labzyuk Date: Wed, 6 May 2020 01:51:13 +0700 Subject: [PATCH] Bind set_suffix/get_suffix in Tree (cherry picked from commit ac8814624dcf7ca4161198054fcbb84a907fe341) --- scene/gui/tree.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index 30349ebab69..4e5804f1b98 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -777,6 +777,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);