gwenhywfar
5.11.1beta
|
Basic signal handling.
Basic signal handling.
This module introduces a simple signal-slot framework. Signals have a fixed list of arguments:
The actual type of the void pointer is defined by the signal and corresponding slot(s): Gwen checks the type at runtime and refuses to connect signals with slots which define this pointer to be of a different type. Any signal can be connected to any number of matching slots.
The central object in this framework is GWEN_SIGNALOBJECT. It holds a list of signals and slots for a given object.