summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-10 13:52:57 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-10 13:52:57 +0200
commitddb97a0b353e4a5de2fdd0195a77efdbb022eacf (patch)
tree565205ea26b546185a7f7357308181e254a3ad4f /scene/gui
parentb9d063170cec06fc83a67c85a27fb2a4f5f99c5d (diff)
parent1e2867556025c302224a0463f68b8135c99e11d8 (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.cpp1
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);