Mention that grab_focus is more reliable deferred
(cherry picked from commit 188d5593e1
)
This commit is contained in:
parent
293c3844b3
commit
5c9ced191b
@ -395,6 +395,7 @@
|
|||||||
<return type="void" />
|
<return type="void" />
|
||||||
<description>
|
<description>
|
||||||
Steal the focus from another control and become the focused control (see [member focus_mode]).
|
Steal the focus from another control and become the focused control (see [member focus_mode]).
|
||||||
|
[b]Note[/b]: Using this method together with [method Object.call_deferred] makes it more reliable, especially when called inside [method Node._ready].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="has_color" qualifiers="const">
|
<method name="has_color" qualifiers="const">
|
||||||
|
Loading…
Reference in New Issue
Block a user