summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorJummit <jummit@web.de>2022-10-09 10:29:44 +0200
committerJummit <jummit@web.de>2022-10-09 10:37:55 +0200
commit1e2867556025c302224a0463f68b8135c99e11d8 (patch)
tree4196b8af4ab4b991732a11392b4c4195beb21ebd /scene/gui
parent18177828ad97286ca88cbdcfb763c967858d051b (diff)
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);