doc/reference/pidgin/signals_gtkblist.md

Mon, 07 Aug 2023 23:23:40 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 07 Aug 2023 23:23:40 -0500
changeset 42267
fdd35a822758
parent 41411
c2969c67490e
permissions
-rw-r--r--

Remove a bunch of dead code from gtkconv

I tried my best to get the keybindings working, but none of them did.

Testing Done:
Compiled and tried all sorts of keybindings in the history and input. I had a message selected in the history and was able to type in the input without any of that old code.

Reviewed at https://reviews.imfreedom.org/r/2538/

Title: Buddy List Signals
Slug: blist-signals

## Buddy List Signals

### gtkblist-created

```c
void user_function(PurpleBuddyList *blist, gpointer user_data);
```

Emitted when the buddy list is created.

**Parameters:**

**blist**
: The buddy list.

**user_data**
: User data set when the signal handler was connected.

### drawing-tooltip

```c
void user_function(PurpleBlistNode *node, GString *text, gboolean full, gpointer user_data);
```

Emitted just before a tooltip is displayed. `text` is a standard GString, so
the plugin can modify the text that will be displayed.

**Parameters:**

**node**
: The blist node for the tooltip.

**text**
: A pointer to the text that will be displayed.

**full**
: Whether we're doing a full tooltip for the priority buddy or a compact
tooltip for a non-priority buddy.

**user_data**
: User data set when the signal handler was connected.

mercurial