Function
Purpleprefs_connect_callback
since: 2.0
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().
Available since: 2.0
Parameters
handle
-
Type:
void*
The handle of the receiver.
The argument can be NULL
.The data is owned by the caller of the function. name
-
Type:
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
-
Type:
PurplePrefCallback
The callback function.
data
-
Type:
gpointer
The data to pass to the callback function.
The argument can be NULL
.The data is owned by the caller of the function.