summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-10-09 14:37:21 +0200
committerGitHub <noreply@github.com>2016-10-09 14:37:21 +0200
commita4f3d93136905d1809a9a52803621182e1719812 (patch)
tree6eb44862e6d7b8e725f24aa2f352dff3407c1b43 /scene/gui
parente9521523a2e170ef0aace47d44f068cc755a817e (diff)
parent7d74e3c39f7cef02444314b20b85ef5b311631ab (diff)
Merge pull request #6707 from volzhs/graphnode
Expose selected value of GraphNode
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/graph_node.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/graph_node.cpp b/scene/gui/graph_node.cpp
index 38e2e06ac5..213c5f62c0 100644
--- a/scene/gui/graph_node.cpp
+++ b/scene/gui/graph_node.cpp
@@ -745,6 +745,9 @@ void GraphNode::_bind_methods() {
ObjectTypeDB::bind_method(_MD("set_resizeable","resizeable"),&GraphNode::set_resizeable);
ObjectTypeDB::bind_method(_MD("is_resizeable"),&GraphNode::is_resizeable);
+ ObjectTypeDB::bind_method(_MD("set_selected","selected"),&GraphNode::set_selected);
+ ObjectTypeDB::bind_method(_MD("is_selected"),&GraphNode::is_selected);
+
ObjectTypeDB::bind_method(_MD("get_connection_output_count"),&GraphNode::get_connection_output_count);
ObjectTypeDB::bind_method(_MD("get_connection_input_count"),&GraphNode::get_connection_input_count);