Bind set_suffix/get_suffix in Tree
(cherry picked from commit ac8814624d
)
This commit is contained in:
parent
90f9f01a2f
commit
e3712cf689
|
@ -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("set_text", "column", "text"), &TreeItem::set_text);
|
||||||
ClassDB::bind_method(D_METHOD("get_text", "column"), &TreeItem::get_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("set_icon", "column", "texture"), &TreeItem::set_icon);
|
||||||
ClassDB::bind_method(D_METHOD("get_icon", "column"), &TreeItem::get_icon);
|
ClassDB::bind_method(D_METHOD("get_icon", "column"), &TreeItem::get_icon);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue