1 /** @page gtkblist-signals GtkBlist Signals
4 @signal gtkblist-hiding
5 @signal gtkblist-unhiding
6 @signal gtkblist-created
7 @signal drawing-tooltip
15 @signaldef gtkblist-hiding
17 void (*gtkblist-hiding)(PurpleBuddyList *blist);
20 Emitted when the buddy list is about to be hidden.
21 @param blist The buddy list.
24 @signaldef gtkblist-unhiding
26 void (*gtkblist-unhiding)(PurpleBuddyList *blist);
29 Emitted when the buddy list is about to be unhidden.
30 @param blist The buddy list.
33 @signaldef gtkblist-created
35 void (*gtkblist-created)(PurpleBuddyList *blist);
38 Emitted when the buddy list is created.
39 @param blist The buddy list.
42 @signaldef drawing-tooltip
44 void (*drawing-tooltip)(PurpleBlistNode *node, GString *text, gboolean full);
47 Emitted just before a tooltip is displayed.
48 @a text is a standard GString, so the plugin can modify the text that
51 Make sure to free @a *text before you replace it!
52 @param node The blist node for the tooltip.
53 @param text A pointer to the text that will be displayed.
54 @param full Whether we're doing a full tooltip for the priority buddy or
55 a compact tooltip for a non-priority buddy.
58 @signaldef drawing-buddy
60 char *(*drawing-buddy)(PurpleBuddy *buddy);
63 Emitted to allow plugins to handle markup within a buddy's name or to
64 override the default of no formatting for names shown in the buddy list.
65 @param buddy A pointer to the PurpleBuddy that will be displayed.
66 @return The text to display (must be allocated), or @c NULL if no
67 changes to the default behavior are desired.
70 // vim: syntax=c.doxygen tw=75 et