Function
Purplesignal_register
Declaration [src]
gulong
purple_signal_register (
void* instance,
const char* signal,
PurpleSignalMarshalFunc marshal,
GType ret_type,
int num_values,
...
)
Description [src]
Registers a signal in an instance.
This function is not directly available to language bindings |
Parameters
instance |
void* |
The instance to register the signal for. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
signal |
const char* |
The signal name. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
marshal |
PurpleSignalMarshalFunc |
The marshal function. |
|
ret_type |
GType |
The return type, or G_TYPE_NONE for no return type. |
|
num_values |
int |
The number of values to be passed to the callbacks. |
|
... |
|
The types of the parameters for the callbacks. |