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
-
Type:
void*
The instance to register the signal for.
The argument can be NULL
.The data is owned by the caller of the function. signal
-
Type:
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
-
Type:
PurpleSignalMarshalFunc
The marshal function.
ret_type
-
Type:
GType
The return type, or G_TYPE_NONE for no return type.
num_values
-
Type:
int
The number of values to be passed to the callbacks.
...
-
Type:
The types of the parameters for the callbacks.