Buddy List Signals

Signal List

Signal Details

buddy-status-changed

void user_function(PurpleBuddy *buddy,
                   PurpleStatus *old_status,
                   PurpleStatus *status,
                   gpointer user_data);

Emitted when a buddy on your buddy list goes away.

Parameters:

buddy
The buddy whose status changed.
old_status
The status that the buddy just changed from.
status
The status that the buddy just changed to.
user_data
user data set when the signal handler was connected.

buddy-idle-changed

void user_function(PurpleBuddy *buddy,
                   gboolean old_idle,
                   gboolean idle,
                   gpointer user_data);

Emitted when a buddy on your buddy list becomes idle.

Parameters:

buddy
The buddy whose idle status changed.
old_idle
Whether the buddy was idle.
idle
Whether the buddy is currently idle.
user_data
user data set when the signal handler was connected.

buddy-signed-on

void user_function(PurpleBuddy *buddy, gpointer user_data);

Emitted when a buddy on your buddy list signs on.

Parameters:

buddy
The buddy that signed on.
user_data
user data set when the signal handler was connected.

buddy-signed-off

void user_function(PurpleBuddy *buddy, gpointer user_data);

Emitted when a buddy on your buddy list signs off.

Parameters:

buddy
The buddy that signed off.
user_data
user data set when the signal handler was connected.

update-idle

void user_function(gpointer user_data);

Emitted when the buddy list is refreshed and the idle times are updated.

Parameters:

user_data
user data set when the signal handler was connected.

blist-node-extended-menu

void user_function(PurpleBlistNode *node, GList **menu, gpointer user_data);

Emitted when a buddylist menu is being constructed menu is a pointer to a GList of PurpleMenuAction’s allowing a plugin to add menu items.


blist-node-added

void user_function(PurpleBlistNode *node, gpointer user_data);

Emitted when a new blist node is added to the buddy list.


blist-node-removed

void user_function(PurpleBlistNode *node, gpointer user_data);

Emitted when a blist node is removed from the buddy list.


buddy-icon-changed

void user_function(PurpleBuddy *buddy, gpointer user_data);

Emitted when a buddy’s icon is set.


blist-node-aliased

void user_function(PurpleBlistNode *node,
                   const gchar *old_alias,
                   gpointer user_data);

Emitted when a blist node (buddy, chat, or contact) is aliased.


buddy-caps-changed

void user_function(PurpleBuddy *buddy,
                   PurpleMediaCaps newcaps,
                   PurpleMediaCaps oldcaps,
                   gpointer user_data);

Emitted when updating a buddy’s media capabilities.

Parameters:

buddy
The buddy.
newcaps
.
oldcaps
.
user_data
user data set when the signal handler was connected.

ui-caps-changed

void user_function(PurpleMediaCaps newcaps,
                   PurpleMediaCaps oldcaps,
                   gpointer user_data);

Emitted when updating the media capabilities of the UI.

Parameters:

newcaps
.
oldcaps
.
user_data
user data set when the signal handler was connected.