Merge pull request #38495 from DarkMessiah/tree-bind-suffix

Bind set_suffix and get_suffix in Tree
This commit is contained in:
Rémi Verschelde 2020-05-06 13:58:34 +02:00 committed by GitHub
commit aca9cfa76c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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