Bind set_suffix/get_suffix in Tree

(cherry picked from commit ac8814624d)
This commit is contained in:
Stanislav Labzyuk 2020-05-06 01:51:13 +07:00 committed by Rémi Verschelde
parent 90f9f01a2f
commit e3712cf689

View file

@ -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);