Function
Purpleprefs_connect_callback
Declaration [src]
guint
purple_prefs_connect_callback (
void* handle,
const char* name,
PurplePrefCallback cb,
gpointer data
)
Description [src]
Add a callback to a pref (and its children)
See purple_prefs_disconnect_callback().
Parameters
handle |
void* |
The handle of the receiver. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
name |
const char* |
The name of the preference. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
cb |
PurplePrefCallback |
The callback function. |
|
data |
gpointer |
The data to pass to the callback function. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |