diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-07-18 00:53:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-18 00:53:39 +0200 |
commit | 4958963abe5b76c613f25f8749c270988bdcccc3 (patch) | |
tree | 7aeaac5d12af96cc72f09689c3a4caa3a720dc41 /scene/gui | |
parent | 62eae7cbe25f3e2f5cf2cc3bd4cb8d13a6845ef3 (diff) | |
parent | 10be575aa16f4158e23c8ae3cdaaced6e734086a (diff) |
Merge pull request #5742 from Ovnuniarchos/TreeItemSetButton
TreeItem.set_button exposed.
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 305a3920da..82459ba0ab 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -693,6 +693,7 @@ void TreeItem::_bind_methods() { ObjectTypeDB::bind_method(_MD("add_button","column","button:Texture","button_idx","disabled"),&TreeItem::add_button,DEFVAL(-1),DEFVAL(false)); ObjectTypeDB::bind_method(_MD("get_button_count","column"),&TreeItem::get_button_count); ObjectTypeDB::bind_method(_MD("get_button:Texture","column","button_idx"),&TreeItem::get_button); + ObjectTypeDB::bind_method(_MD("set_button","column","button_idx","button:Texture"),&TreeItem::set_button); ObjectTypeDB::bind_method(_MD("erase_button","column","button_idx"),&TreeItem::erase_button); ObjectTypeDB::bind_method(_MD("is_button_disabled","column","button_idx"),&TreeItem::is_button_disabled); |