NAME
CL_GObject
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:
SEE ALSO
All ClanLib API classes can be found in clanlib (3).
AUTHORS
Originally written by Magnus Norddahl <[email protected]> and Martin Starch <[email protected]>. ClanLib is now developed by the ClanLib Development team as an Open Source project.
The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at http://somewhere.in.the.world.org).
See clanlib (3) to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.