Signals

gdext.internal.engine.Signals
object Signals

Signal-connection helper. Object.connect takes a Callable argument, which the codegen does not emit a wrapper for, so we bind it directly here via its MethodBind. Pairs with gdext.builtin.Callable.of to route an engine signal back into a registered class's Scala method.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Signals.type

Members list

Value members

Concrete methods

def connect(host: GodotObject, signal: String, callable: Callable, flags: Long = ...): Long

Connect signal on host to callable. Returns the engine Error code (0 == OK). connect returns a value, so this uses the value ptrcall path (a null return buffer would crash).

Connect signal on host to callable. Returns the engine Error code (0 == OK). connect returns a value, so this uses the value ptrcall path (a null return buffer would crash).

Attributes