Merge pull request #38495 from DarkMessiah/tree-bind-suffix
Bind set_suffix and get_suffix in Tree
This commit is contained in:
commit
aca9cfa76c
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue