summaryrefslogtreecommitdiff
path: root/doc/classes/Callable.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Callable.xml')
-rw-r--r--doc/classes/Callable.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/Callable.xml b/doc/classes/Callable.xml
index 6838bdeb70..1fcaf6d866 100644
--- a/doc/classes/Callable.xml
+++ b/doc/classes/Callable.xml
@@ -75,6 +75,10 @@
<return type="void" />
<description>
Calls the method represented by this [Callable] in deferred mode, i.e. during the idle frame. Arguments can be passed and should match the method's signature.
+ [codeblock]
+ func _ready():
+ grab_focus.call_deferred()
+ [/codeblock]
</description>
</method>
<method name="get_method" qualifiers="const">