You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-01 16:38:31 +00:00
Merge pull request #72670 from YuriSizov/docs-signal-get-connections
Fix incorrect description for `Signal::get_connections`
This commit is contained in:
@@ -639,7 +639,7 @@
|
|||||||
<description>
|
<description>
|
||||||
Returns an [Array] of connections for the given [param signal] name. Each connection is represented as a [Dictionary] that contains three entries:
|
Returns an [Array] of connections for the given [param signal] name. Each connection is represented as a [Dictionary] that contains three entries:
|
||||||
- [code]signal[/code] is a reference to the [Signal];
|
- [code]signal[/code] is a reference to the [Signal];
|
||||||
- [code]callable[/code] is a reference to the [Callable];
|
- [code]callable[/code] is a reference to the connected [Callable];
|
||||||
- [code]flags[/code] is a combination of [enum ConnectFlags].
|
- [code]flags[/code] is a combination of [enum ConnectFlags].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
|||||||
@@ -85,7 +85,10 @@
|
|||||||
<method name="get_connections" qualifiers="const">
|
<method name="get_connections" qualifiers="const">
|
||||||
<return type="Array" />
|
<return type="Array" />
|
||||||
<description>
|
<description>
|
||||||
Returns the list of [Callable]s connected to this signal.
|
Returns an [Array] of connections for this signal. Each connection is represented as a [Dictionary] that contains three entries:
|
||||||
|
- [code]signal[/code] is a reference to this signal;
|
||||||
|
- [code]callable[/code] is a reference to the connected [Callable];
|
||||||
|
- [code]flags[/code] is a combination of [enum Object.ConnectFlags].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_name" qualifiers="const">
|
<method name="get_name" qualifiers="const">
|
||||||
|
|||||||
Reference in New Issue
Block a user