diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-10 13:52:57 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-10 13:52:57 +0200 |
commit | ddb97a0b353e4a5de2fdd0195a77efdbb022eacf (patch) | |
tree | 565205ea26b546185a7f7357308181e254a3ad4f /scene/gui | |
parent | b9d063170cec06fc83a67c85a27fb2a4f5f99c5d (diff) | |
parent | 1e2867556025c302224a0463f68b8135c99e11d8 (diff) |
Merge pull request #67117 from Jummit/tree-button-color
Expose TreeItem::set_button_color
Diffstat (limited to 'scene/gui')
-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 acf398305c..2e8fa1e606 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -1504,6 +1504,7 @@ void TreeItem::_bind_methods() { ClassDB::bind_method(D_METHOD("set_button", "column", "button_idx", "button"), &TreeItem::set_button); ClassDB::bind_method(D_METHOD("erase_button", "column", "button_idx"), &TreeItem::erase_button); ClassDB::bind_method(D_METHOD("set_button_disabled", "column", "button_idx", "disabled"), &TreeItem::set_button_disabled); + ClassDB::bind_method(D_METHOD("set_button_color", "column", "button_idx", "color"), &TreeItem::set_button_color); ClassDB::bind_method(D_METHOD("is_button_disabled", "column", "button_idx"), &TreeItem::is_button_disabled); ClassDB::bind_method(D_METHOD("set_tooltip_text", "column", "tooltip"), &TreeItem::set_tooltip_text); |