summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2016-10-05 02:00:58 +0900
committervolzhs <volzhs@gmail.com>2016-10-05 02:00:58 +0900
commit7d74e3c39f7cef02444314b20b85ef5b311631ab (patch)
tree036c7cb8f0c5648c435e3553619a2ab2801572fa /scene/gui
parent78d97b060a6873a454e710380cb9ef1bde5e4c65 (diff)
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 da298a795a..9aaceb084f 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);