CL_GObject3
Class members
- static void
activate_signal( -
int nargs, CL_GObject *sender, CL_GMember mem,
- static void
connect( -
CL_GObject *sender, CL_GMember signal, CL_GObject *reciever, CL_GSlot slot)
- static void
disconnect( -
CL_GObject *sender, CL_GMember signal, CL_GObject *reciever, CL_GSlot slot)
- static CL_GObject *
get_last_sender()
- static int
get_num_signals()
- static int
get_num_slot()
- static int
get_num_connections()
- static void
debug_signals()
Members with descriptions
- static void
activate_signal( -
int nargs, CL_GObject *sender, CL_GMember mem,
Description:
Calls all the slots that are connected to the signal
- static void
connect( -
CL_GObject *sender, CL_GMember signal, CL_GObject *reciever, CL_GSlot slot)
Parameters: sender - a pointer to the object that emits the signal signal - the signal reciever - a pointer to the object that has a slot slot - the slot
Description:
Connects an objects signal to another objects slot. When the signal isemitted, the slot function will be called.
- static void
disconnect( -
CL_GObject *sender, CL_GMember signal, CL_GObject *reciever, CL_GSlot slot)
Parameters: sender - a pointer to the object that emits the signal signal - the signal reciever - a pointer to the object that has a slot slot - the slot
Description:
Disconnects an existing connection between a signal and a slot
- static CL_GObject *
get_last_sender() -
Description:
Returns the object that last sent the signal
Return value:
The object
- static int
get_num_signals() -
Description:
Returns the current total number of registered signals
Return value:
The number of registered signals
- static int
get_num_slot() -
Description:
Returns the current total number of registered slots
Return value:
The number of registered slots
- static int
get_num_connections() -
Description:
Returns the current total number of connections
Return value:
The number of slots
- static void
debug_signals() -
Description: