diff options
author | kobewi <kobewi4e@gmail.com> | 2021-12-05 02:35:04 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-12-05 02:55:38 +0100 |
commit | 7f6ab0006d43866f365287365b25dbcf9e92bebd (patch) | |
tree | 87aa2c7053d91ef6293c0cc01e5fa4923ac069a4 /scene | |
parent | 2a9dd654bc0197dd864df61b5b37e302022c2871 (diff) |
Bind column_titles_visible as property
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/tree.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index 89caaaafd0..7c0612036d 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -4830,6 +4830,7 @@ void Tree::_bind_methods() { ClassDB::bind_method(D_METHOD("get_allow_reselect"), &Tree::get_allow_reselect); ADD_PROPERTY(PropertyInfo(Variant::INT, "columns"), "set_columns", "get_columns"); + ADD_PROPERTY(PropertyInfo(Variant::INT, "column_titles_visible"), "set_column_titles_visible", "are_column_titles_visible"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "allow_reselect"), "set_allow_reselect", "get_allow_reselect"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "allow_rmb_select"), "set_allow_rmb_select", "get_allow_rmb_select"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "hide_folding"), "set_hide_folding", "is_folding_hidden"); |