Class representing a signal defined in an object.
$DOCS_URL/getting_started/step_by_step/signals.html
$DOCS_URL/tutorials/scripting/gdscript/gdscript_basics.html#signals
Constructs a null [Signal] with no object nor signal name bound.
Constructs a [Signal] as a copy of the given [Signal].
Creates a new [Signal] with the name [param signal] in the specified [param object].
Connects this signal to the specified [Callable], optionally providing connection flags. You can provide additional arguments to the connected method call by using [method Callable.bind].
[codeblock]
for button in $Buttons.get_children():
button.pressed.connect(on_pressed.bind(button))
func on_pressed(button):
print(button.name, " was pressed")
[/codeblock]
Disconnects this signal from the specified [Callable].
Emits this signal to all connected objects.
Returns the list of [Callable]s connected to this signal.
Returns the name of this signal.
Returns the object emitting this signal.
Returns the ID of the object emitting this signal (see [method Object.get_instance_id]).
Returns [code]true[/code] if the specified [Callable] is connected to this signal.