summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-03-23 16:16:25 +0100
committerGitHub <noreply@github.com>2020-03-23 16:16:25 +0100
commit20edf69f96160fcf7c0ea2449f4daf50f572ce99 (patch)
tree96ca71593fb38b96eba0f366a8120a374002e3ae /doc/classes
parentcbbe0743a9155f06d03d4b906209933192a02731 (diff)
parent258d91f883eb3db0ebc709f4f7e43ccb6948a7fc (diff)
Merge pull request #33508 from nekomatata/object-has-signal
Added has_signal method for Object
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Object.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml
index a3faccae1a..33f5fc0f35 100644
--- a/doc/classes/Object.xml
+++ b/doc/classes/Object.xml
@@ -311,13 +311,22 @@
Returns [code]true[/code] if the object contains the given [code]method[/code].
</description>
</method>
+ <method name="has_signal" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="signal" type="String">
+ </argument>
+ <description>
+ Returns [code]true[/code] if the given [code]signal[/code] exists.
+ </description>
+ </method>
<method name="has_user_signal" qualifiers="const">
<return type="bool">
</return>
<argument index="0" name="signal" type="StringName">
</argument>
<description>
- Returns [code]true[/code] if the given user-defined [code]signal[/code] exists.
+ Returns [code]true[/code] if the given user-defined [code]signal[/code] exists. Only signals added using [method add_user_signal] are taken into account.
</description>
</method>
<method name="is_blocking_signals" qualifiers="const">