From 65b93d177e334aaa11db9c6cf9350d5280a76afe Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 10 Sep 2016 17:34:27 -0300 Subject: -Added bindings to the resource filesystem for editor -Added set_child_rect, which was unavailable for script --- scene/gui/dialogs.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/gui/dialogs.cpp') diff --git a/scene/gui/dialogs.cpp b/scene/gui/dialogs.cpp index 93e46da82b..15ff334c92 100644 --- a/scene/gui/dialogs.cpp +++ b/scene/gui/dialogs.cpp @@ -368,6 +368,7 @@ void AcceptDialog::_bind_methods() { ObjectTypeDB::bind_method(_MD("_custom_action"),&AcceptDialog::_custom_action); ObjectTypeDB::bind_method(_MD("set_text","text"),&AcceptDialog::set_text); ObjectTypeDB::bind_method(_MD("get_text"),&AcceptDialog::get_text); + ObjectTypeDB::bind_method(_MD("set_child_rect","child:Control"),&AcceptDialog::set_child_rect); ADD_SIGNAL( MethodInfo("confirmed") ); ADD_SIGNAL( MethodInfo("custom_action",PropertyInfo(Variant::STRING,"action")) ); -- cgit v1.2.3