Registering signals
Signals currently have very limited support in gdext, through the #[signal]
attribute. Consult its API documentation for details.
Signal registration will be completely reworked in the future, with breaking API changes.
As an alternative, you can use Godot's dynamic API to register signals. The Object
class has methods connect()
and
emit_signal()
that can be used to connect and emit signals, respectively.
See also GDScript reference for signals.