Fri, 31 Jan 2014 18:22:41 +0530
Initial replacements for this branch
| 5228 | 1 | /** |
|
34708
dd67596485ca
Undo renames of UI blist headers back to gntblist.h and gtkblist.h
Ankit Vani <a@nevitus.org>
parents:
34706
diff
changeset
|
2 | * @file gtkblist.h GTK+ Buddy List API |
|
16254
eeb2bba4dc94
Rename the Doxygen group from gtkui to pidgin.
Richard Laager <rlaager@pidgin.im>
parents:
16182
diff
changeset
|
3 | * @ingroup pidgin |
|
20890
c4253dc37ac0
ChangeLog by resiak@soc.pidgin.im:
Will Thompson <resiak@pidgin.im>
parents:
20147
diff
changeset
|
4 | * @see @ref gtkblist-signals |
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19862
diff
changeset
|
5 | */ |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19862
diff
changeset
|
6 | |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19862
diff
changeset
|
7 | /* pidgin |
| 5228 | 8 | * |
| 15572 | 9 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 8046 | 10 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 11 | * source distribution. | |
| 5906 | 12 | * |
| 5228 | 13 | * This program is free software; you can redistribute it and/or modify |
| 14 | * it under the terms of the GNU General Public License as published by | |
| 15 | * the Free Software Foundation; either version 2 of the License, or | |
| 16 | * (at your option) any later version. | |
| 17 | * | |
| 18 | * This program is distributed in the hope that it will be useful, | |
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 21 | * GNU General Public License for more details. | |
| 22 | * | |
| 23 | * You should have received a copy of the GNU General Public License | |
| 24 | * along with this program; if not, write to the Free Software | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
19652
diff
changeset
|
25 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 5228 | 26 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
27 | #ifndef _PIDGINBLIST_H_ |
|
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
28 | #define _PIDGINBLIST_H_ |
| 5228 | 29 | |
|
25630
f9fb8da4b5ec
Sprinkle some @copydoc directives around to shut up some doxygen whining.
Etan Reisner <deryni@pidgin.im>
parents:
21307
diff
changeset
|
30 | /** @copydoc _PidginBuddyList */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
31 | typedef struct _PidginBuddyList PidginBuddyList; |
|
5872
754c63f29b77
[gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents:
5631
diff
changeset
|
32 | |
| 5228 | 33 | enum { |
| 34 | STATUS_ICON_COLUMN, | |
| 35 | STATUS_ICON_VISIBLE_COLUMN, | |
| 36 | NAME_COLUMN, | |
| 37 | IDLE_COLUMN, | |
| 14471 | 38 | IDLE_VISIBLE_COLUMN, |
| 5228 | 39 | BUDDY_ICON_COLUMN, |
| 14471 | 40 | BUDDY_ICON_VISIBLE_COLUMN, |
| 5228 | 41 | NODE_COLUMN, |
| 14471 | 42 | BGCOLOR_COLUMN, |
| 43 | GROUP_EXPANDER_COLUMN, | |
|
16182
88b7040408c8
Set the disable maximize button hint on the blist. I couldn't find a window manager that supports this, but I bet win32 does.
Sean Egan <seanegan@pidgin.im>
parents:
15931
diff
changeset
|
44 | GROUP_EXPANDER_VISIBLE_COLUMN, |
| 14471 | 45 | CONTACT_EXPANDER_COLUMN, |
| 46 | CONTACT_EXPANDER_VISIBLE_COLUMN, | |
| 15524 | 47 | EMBLEM_COLUMN, |
| 48 | EMBLEM_VISIBLE_COLUMN, | |
|
19652
b0a14d85e2e5
Fixes #2146. Adds a Show Protocol Icon option and groups related Show menu items into a submenu. Patch from Justin Heiner
Sean Egan <seanegan@pidgin.im>
parents:
19057
diff
changeset
|
49 | PROTOCOL_ICON_COLUMN, |
|
b0a14d85e2e5
Fixes #2146. Adds a Show Protocol Icon option and groups related Show menu items into a submenu. Patch from Justin Heiner
Sean Egan <seanegan@pidgin.im>
parents:
19057
diff
changeset
|
50 | PROTOCOL_ICON_VISIBLE_COLUMN, |
| 5228 | 51 | BLIST_COLUMNS |
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
52 | |
|
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
53 | }; |
| 5228 | 54 | |
| 55 | typedef enum { | |
|
15569
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
56 | PIDGIN_STATUS_ICON_LARGE, |
|
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
57 | PIDGIN_STATUS_ICON_SMALL |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
58 | |
|
15569
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
59 | } PidginStatusIconSize; |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
60 | |
| 15577 | 61 | #include "pidgin.h" |
|
34706
02cb08146888
Renamed blist.[ch] to buddylist.[ch]
Ankit Vani <a@nevitus.org>
parents:
34699
diff
changeset
|
62 | #include "buddylist.h" |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
63 | #include "gtkblist-theme.h" |
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
64 | |
| 5228 | 65 | /************************************************************************** |
| 66 | * @name Structures | |
| 67 | **************************************************************************/ | |
| 68 | /** | |
| 69 | * Like, everything you need to know about the gtk buddy list | |
| 70 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
71 | struct _PidginBuddyList { |
| 5228 | 72 | GtkWidget *window; |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
73 | GtkWidget *notebook; /**< The notebook that switches between the real buddy list and the helpful |
| 15086 | 74 | instructions page */ |
| 75 | GtkWidget *main_vbox; /**< This vbox contains the menu and notebook */ | |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
76 | GtkWidget *vbox; /**< This is the vbox that everything important gets packed into. |
| 15086 | 77 | Your plugin might want to pack something in it itself. Go, plugins! */ |
| 5228 | 78 | |
| 79 | GtkWidget *treeview; /**< It's a treeview... d'uh. */ | |
| 80 | GtkTreeStore *treemodel; /**< This is the treemodel. */ | |
| 14518 | 81 | GtkTreeViewColumn *text_column; /**< Column */ |
| 11016 | 82 | |
| 83 | GtkCellRenderer *text_rend; | |
| 5228 | 84 | |
|
32348
305b415e90d6
Start converting Buddy List to new UI Manager code. Some auto-generated
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
85 | GtkUIManager *ui; |
|
12116
17bf39d2678f
[gaim-migrate @ 14416]
Casey Harkins <charkins@pidgin.im>
parents:
12080
diff
changeset
|
86 | GtkWidget *menutray; /**< The menu tray widget. */ |
|
17bf39d2678f
[gaim-migrate @ 14416]
Casey Harkins <charkins@pidgin.im>
parents:
12080
diff
changeset
|
87 | GtkWidget *menutrayicon; /**< The menu tray icon. */ |
| 5228 | 88 | |
| 89 | guint refresh_timer; /**< The timer for refreshing every 30 seconds */ | |
| 90 | ||
| 91 | guint timeout; /**< The timeout for the tooltip. */ | |
| 10354 | 92 | guint drag_timeout; /**< The timeout for expanding contacts on drags */ |
| 7636 | 93 | GdkRectangle tip_rect; /**< This is the bounding rectangle of the |
| 94 | cell we're currently hovering over. This is | |
| 95 | used for tooltips. */ | |
| 96 | GdkRectangle contact_rect; /**< This is the bounding rectangle of the contact node | |
| 97 | and its children. This is used for auto-expand on | |
| 98 | mouseover. */ | |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
99 | PurpleBlistNode *mouseover_contact; /**< This is the contact currently mouse-over expanded */ |
| 7636 | 100 | |
| 5228 | 101 | GtkWidget *tipwindow; /**< The window used by the tooltip */ |
| 11890 | 102 | GList *tooltipdata; /**< The data for each "chunk" of the tooltip */ |
| 5228 | 103 | |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
104 | PurpleBlistNode *selected_node; /**< The currently selected node */ |
| 15243 | 105 | |
| 15094 | 106 | GtkWidget *scrollbook; /**< Scrollbook for alerts */ |
|
33115
d01bb4e26cb7
Hide some internal buddy list stuff.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32989
diff
changeset
|
107 | GtkWidget *headline; /**< Widget for headline notifications */ |
|
d01bb4e26cb7
Hide some internal buddy list stuff.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32989
diff
changeset
|
108 | GtkWidget *headline_label; /**< Label for headline notifications */ |
| 15243 | 109 | GtkWidget *headline_image; /**< Image for headline notifications */ |
| 110 | GCallback headline_callback; /**< Callback for headline notifications */ | |
| 111 | gpointer headline_data; /**< User data for headline notifications */ | |
|
15386
2cfff7893ed0
[gaim-migrate @ 18115]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15380
diff
changeset
|
112 | GDestroyNotify headline_destroy; /**< Callback to use for destroying the headline-data */ |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
113 | |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
114 | GtkWidget *statusbox; /**< The status selector dropdown */ |
|
15458
39c79dc7c965
A lot of status icon changes:
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
115 | GdkPixbuf *empty_avatar; /**< A 32x32 transparent pixbuf */ |
|
21307
63bb9b16256e
Group all NAME_IN_USE errors together into one neat mini-dialog on the buddy
Will Thompson <resiak@pidgin.im>
parents:
21296
diff
changeset
|
116 | |
|
63bb9b16256e
Group all NAME_IN_USE errors together into one neat mini-dialog on the buddy
Will Thompson <resiak@pidgin.im>
parents:
21296
diff
changeset
|
117 | gpointer priv; /**< Pointer to opaque private data */ |
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
118 | }; |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
119 | |
|
29673
d2759164a4a3
a bunch more struct hiding fixes, but too much for me at the moment
Gary Kramlich <grim@reaperworld.com>
parents:
25911
diff
changeset
|
120 | #define PIDGIN_BLIST(list) ((PidginBuddyList *)purple_blist_get_ui_data()) |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
121 | #define PIDGIN_IS_PIDGIN_BLIST(list) \ |
|
29673
d2759164a4a3
a bunch more struct hiding fixes, but too much for me at the moment
Gary Kramlich <grim@reaperworld.com>
parents:
25911
diff
changeset
|
122 | (purple_blist_get_ui_ops() == pidgin_blist_get_ui_ops()) |
| 5228 | 123 | |
|
32790
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32604
diff
changeset
|
124 | G_BEGIN_DECLS |
|
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32604
diff
changeset
|
125 | |
| 5228 | 126 | /************************************************************************** |
| 5422 | 127 | * @name GTK+ Buddy List API |
| 5228 | 128 | **************************************************************************/ |
| 5906 | 129 | |
| 130 | /** | |
| 8815 | 131 | * Get the handle for the GTK+ blist system. |
| 132 | * | |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
133 | * Returns: the handle to the blist system |
| 8815 | 134 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
135 | void *pidgin_blist_get_handle(void); |
| 8815 | 136 | |
| 137 | /** | |
| 5906 | 138 | * Initializes the GTK+ blist system. |
| 139 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
140 | void pidgin_blist_init(void); |
| 5906 | 141 | |
| 5228 | 142 | /** |
| 8815 | 143 | * Uninitializes the GTK+ blist system. |
| 144 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
145 | void pidgin_blist_uninit(void); |
| 8815 | 146 | |
| 147 | /** | |
| 5228 | 148 | * Returns the UI operations structure for the buddy list. |
| 149 | * | |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
150 | * Returns: The GTK+ list operations structure. |
| 5228 | 151 | */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
152 | PurpleBlistUiOps *pidgin_blist_get_ui_ops(void); |
| 5228 | 153 | |
| 154 | /** | |
| 10643 | 155 | * Returns the default gtk buddy list |
| 11732 | 156 | * |
| 10643 | 157 | * There's normally only one buddy list window, but that isn't a necessity. This function |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
158 | * returns the PidginBuddyList we're most likely wanting to work with. This is slightly |
| 10643 | 159 | * cleaner than an externed global. |
| 11732 | 160 | * |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
161 | * Returns: The default GTK+ buddy list |
| 10643 | 162 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
163 | PidginBuddyList *pidgin_blist_get_default_gtk_blist(void); |
| 10643 | 164 | |
| 165 | /** | |
| 9774 | 166 | * Populates a menu with the items shown on the buddy list for a buddy. |
| 167 | * | |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
168 | * @menu: The menu to populate |
|
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
169 | * @buddy: The buddy whose menu to get |
|
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
170 | * @sub: TRUE if this is a sub-menu, FALSE otherwise |
| 9774 | 171 | */ |
| 15884 | 172 | void pidgin_blist_make_buddy_menu(GtkWidget *menu, PurpleBuddy *buddy, gboolean sub); |
| 9774 | 173 | |
| 174 | /** | |
| 5228 | 175 | * Refreshes all the nodes of the buddy list. |
| 176 | * This should only be called when something changes to affect most of the nodes (such as a ui preference changing) | |
| 177 | * | |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
178 | * @list: This is the core list that gets updated from |
| 5228 | 179 | */ |
| 15884 | 180 | void pidgin_blist_refresh(PurpleBuddyList *list); |
| 5228 | 181 | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
182 | void pidgin_blist_update_columns(void); |
|
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
183 | void pidgin_blist_update_refresh_timeout(void); |
| 5228 | 184 | |
| 185 | /** | |
|
29728
62c59080a6bf
Update pidgin_blist_get_emblem() docs to be accurate.
Daniel Atallah <datallah@pidgin.im>
parents:
29673
diff
changeset
|
186 | * Returns the blist emblem. |
|
62c59080a6bf
Update pidgin_blist_get_emblem() docs to be accurate.
Daniel Atallah <datallah@pidgin.im>
parents:
29673
diff
changeset
|
187 | * |
|
62c59080a6bf
Update pidgin_blist_get_emblem() docs to be accurate.
Daniel Atallah <datallah@pidgin.im>
parents:
29673
diff
changeset
|
188 | * This may be an existing pixbuf that has been given an additional ref, |
|
62c59080a6bf
Update pidgin_blist_get_emblem() docs to be accurate.
Daniel Atallah <datallah@pidgin.im>
parents:
29673
diff
changeset
|
189 | * so it shouldn't be modified. |
| 15524 | 190 | * |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
191 | * @node: The node to return an emblem for |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
192 | * |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
193 | * Returns: A GdkPixbuf for the emblem to show, or NULL |
| 15524 | 194 | */ |
| 195 | GdkPixbuf * | |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
196 | pidgin_blist_get_emblem(PurpleBlistNode *node); |
| 15524 | 197 | |
| 198 | /** | |
| 5228 | 199 | * Useful for the buddy ticker |
| 200 | */ | |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
201 | GdkPixbuf *pidgin_blist_get_status_icon(PurpleBlistNode *node, |
|
15569
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
202 | PidginStatusIconSize size); |
| 5228 | 203 | |
|
11018
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
204 | /** |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
205 | * Returns a boolean indicating if @a node is part of an expanded contact. |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
206 | * |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
207 | * This only makes sense for contact and buddy nodes. %FALSE is returned |
|
11018
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
208 | * for other types of nodes. |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
209 | * |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
210 | * @node: The node in question. |
|
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
211 | * Returns: A boolean indicating if @a node is part of an expanded contact. |
|
11018
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
212 | */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
213 | gboolean pidgin_blist_node_is_contact_expanded(PurpleBlistNode *node); |
|
11018
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
214 | |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
215 | /** |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
216 | * Intelligently toggles the visibility of the buddy list. If the buddy |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
217 | * list is obscured, it is brought to the front. If it is not obscured, |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
218 | * it is hidden. If it is hidden it is shown. |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
219 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
220 | void pidgin_blist_toggle_visibility(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
221 | |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
222 | /** |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
223 | * Increases the reference count of visibility managers. Callers should |
|
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
224 | * call the complementary remove function when no longer managing |
|
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
225 | * visibility. |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
226 | * |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
227 | * A visibility manager is something that provides some method for |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
228 | * showing the buddy list after it is hidden (e.g. docklet plugin). |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
229 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
230 | void pidgin_blist_visibility_manager_add(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
231 | |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
232 | /** |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
233 | * Decreases the reference count of visibility managers. If the count |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
234 | * drops below zero, the buddy list is shown. |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
235 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
236 | void pidgin_blist_visibility_manager_remove(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
237 | |
| 15094 | 238 | /** |
| 239 | * Adds a mini-alert to the blist scrollbook | |
| 240 | * | |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
241 | * @widget: The widget to add |
| 15094 | 242 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
243 | void pidgin_blist_add_alert(GtkWidget *widget); |
| 15094 | 244 | |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
245 | /** |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
246 | * Sets the current theme for Pidgin to use |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
247 | * |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
248 | * @theme: the new theme to use |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
249 | */ |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
250 | void pidgin_blist_set_theme(PidginBlistTheme *theme); |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
251 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
252 | /** |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
253 | * Gets Pidgin's current buddy list theme |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
254 | * |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
255 | * Returns:s the current theme |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
256 | */ |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
257 | PidginBlistTheme *pidgin_blist_get_theme(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
258 | |
| 5422 | 259 | /************************************************************************** |
| 260 | * @name GTK+ Buddy List sorting functions | |
| 261 | **************************************************************************/ | |
| 262 | ||
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
263 | typedef void (*pidgin_blist_sort_function)(PurpleBlistNode *new, PurpleBuddyList *blist, GtkTreeIter group, GtkTreeIter *cur, GtkTreeIter *iter); |
| 5422 | 264 | |
| 11796 | 265 | /** |
| 266 | * Gets the current list of sort methods. | |
| 267 | * | |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
268 | * Returns: A GSlist of sort methods |
| 11796 | 269 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
270 | GList *pidgin_blist_get_sort_methods(void); |
| 5422 | 271 | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
272 | struct pidgin_blist_sort_method { |
| 5631 | 273 | char *id; |
| 5422 | 274 | char *name; |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
275 | pidgin_blist_sort_function func; |
| 5422 | 276 | }; |
| 277 | ||
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
278 | typedef struct pidgin_blist_sort_method PidginBlistSortMethod; |
| 11796 | 279 | |
| 5422 | 280 | /** |
| 281 | * Registers a buddy list sorting method. | |
| 282 | * | |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
283 | * @id: The unique ID of the sorting method |
|
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
284 | * @name: The method's name. |
|
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
285 | * @func: A pointer to the function. |
| 5422 | 286 | * |
| 287 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
288 | void pidgin_blist_sort_method_reg(const char *id, const char *name, pidgin_blist_sort_function func); |
| 5422 | 289 | |
| 290 | /** | |
| 291 | * Unregisters a buddy list sorting method. | |
| 292 | * | |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
293 | * @id: The method's id |
| 5422 | 294 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
295 | void pidgin_blist_sort_method_unreg(const char *id); |
| 5422 | 296 | |
| 297 | /** | |
| 298 | * Sets a buddy list sorting method. | |
| 299 | * | |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
300 | * @id: The method's id. |
| 5422 | 301 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
302 | void pidgin_blist_sort_method_set(const char *id); |
| 5422 | 303 | |
| 304 | /** | |
| 305 | * Sets up the programs default sort methods | |
| 306 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
307 | void pidgin_blist_setup_sort_methods(void); |
| 5422 | 308 | |
|
5936
4bac764cc792
[gaim-migrate @ 6376]
Christian Hammond <chipx86@chipx86.com>
parents:
5906
diff
changeset
|
309 | /** |
| 12296 | 310 | * Updates the accounts menu on the GTK+ buddy list window. |
|
5936
4bac764cc792
[gaim-migrate @ 6376]
Christian Hammond <chipx86@chipx86.com>
parents:
5906
diff
changeset
|
311 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
312 | void pidgin_blist_update_accounts_menu(void); |
| 5422 | 313 | |
|
8305
5a6d1168a8b3
[gaim-migrate @ 9029]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
314 | /** |
|
8986
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
315 | * Updates the plugin actions menu on the GTK+ buddy list window. |
|
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
316 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
317 | void pidgin_blist_update_plugin_actions(void); |
|
8986
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
318 | |
|
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
319 | /** |
| 11796 | 320 | * Updates the Sorting menu on the GTK+ buddy list window. |
| 321 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
322 | void pidgin_blist_update_sort_methods(void); |
| 11796 | 323 | |
| 324 | /** | |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
325 | * Determines if showing the join chat dialog is a valid action. |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
326 | * |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
327 | * Returns: Returns TRUE if there are accounts online capable of |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
328 | * joining chat rooms. Otherwise returns FALSE. |
|
8305
5a6d1168a8b3
[gaim-migrate @ 9029]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
329 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
330 | gboolean pidgin_blist_joinchat_is_showable(void); |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
331 | |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
332 | /** |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
333 | * Shows the join chat dialog. |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
334 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
335 | void pidgin_blist_joinchat_show(void); |
| 5422 | 336 | |
| 9051 | 337 | /** |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
338 | * Appends the privacy menu items for a PurpleBlistNode |
|
15380
1171796358b3
[gaim-migrate @ 18109]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15300
diff
changeset
|
339 | * TODO: Rename these. |
|
1171796358b3
[gaim-migrate @ 18109]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15300
diff
changeset
|
340 | */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
341 | void pidgin_append_blist_node_privacy_menu(GtkWidget *menu, PurpleBlistNode *node); |
|
15380
1171796358b3
[gaim-migrate @ 18109]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15300
diff
changeset
|
342 | |
|
1171796358b3
[gaim-migrate @ 18109]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15300
diff
changeset
|
343 | /** |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
344 | * Appends the protocol specific menu items for a PurpleBlistNode |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
345 | * TODO: Rename these. |
| 9051 | 346 | */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
347 | void pidgin_append_blist_node_proto_menu (GtkWidget *menu, PurpleConnection *gc, PurpleBlistNode *node); |
| 9051 | 348 | |
| 349 | /** | |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
350 | * Appends the extended menu items for a PurpleBlistNode |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
351 | * TODO: Rename these. |
| 9051 | 352 | */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
353 | void pidgin_append_blist_node_extended_menu(GtkWidget *menu, PurpleBlistNode *node); |
| 9051 | 354 | |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
355 | /** |
| 15243 | 356 | * Sets a headline notification |
| 357 | * | |
| 358 | * This is currently used for mail notification, but could theoretically be used for anything. | |
| 359 | * Only the most recent headline will be shown. | |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
360 | * |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
361 | * @text: Pango Markup for the label text |
|
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
362 | * @pixbuf: The GdkPixbuf for the icon |
|
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
363 | * @callback: The callback to call when headline is clicked |
|
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
364 | * @user_data: The userdata to include in the callback |
|
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
365 | * @destroy: The callback to call when headline is closed or replaced by another headline. |
| 15243 | 366 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
367 | void pidgin_blist_set_headline(const char *text, GdkPixbuf *pixbuf, GCallback callback, gpointer user_data, |
|
15386
2cfff7893ed0
[gaim-migrate @ 18115]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15380
diff
changeset
|
368 | GDestroyNotify destroy); |
| 15243 | 369 | |
|
18253
e25dd002e0be
Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
Sean Egan <seanegan@pidgin.im>
parents:
16254
diff
changeset
|
370 | /** |
|
e25dd002e0be
Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
Sean Egan <seanegan@pidgin.im>
parents:
16254
diff
changeset
|
371 | * Returns a buddy's Pango markup appropriate for setting in a GtkCellRenderer. |
|
e25dd002e0be
Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
Sean Egan <seanegan@pidgin.im>
parents:
16254
diff
changeset
|
372 | * |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
373 | * @buddy: The buddy to return markup from |
|
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
374 | * @selected: Whether this buddy is selected. If TRUE, the markup will not change the color. |
|
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
375 | * @aliased: TRUE to return the appropriate alias of this buddy, FALSE to return its username and status information |
|
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
376 | * Returns: The markup for this buddy |
|
18253
e25dd002e0be
Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
Sean Egan <seanegan@pidgin.im>
parents:
16254
diff
changeset
|
377 | */ |
|
18274
b4eb1720fddf
Show screenname instead of alias in conversation infopanes
Sean Egan <seanegan@pidgin.im>
parents:
18253
diff
changeset
|
378 | gchar *pidgin_blist_get_name_markup(PurpleBuddy *buddy, gboolean selected, gboolean aliased); |
|
18253
e25dd002e0be
Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
Sean Egan <seanegan@pidgin.im>
parents:
16254
diff
changeset
|
379 | |
| 18970 | 380 | /** |
| 381 | * Creates the Buddy List tooltip at the current pointer location for the given buddy list node. | |
| 382 | * | |
| 383 | * This tooltip will be destroyed the next time this function is called, or when XXXX | |
| 384 | * is called | |
| 385 | * | |
|
37034
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
386 | * @node: The buddy list node to show a tooltip for |
|
9d6765962b22
Initial replacements for this branch
Ankit Vani <a@nevitus.org>
parents:
37023
diff
changeset
|
387 | * @widget: The widget to draw the tooltip on |
| 18970 | 388 | */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
389 | void pidgin_blist_draw_tooltip(PurpleBlistNode *node, GtkWidget *widget); |
| 18970 | 390 | |
| 391 | /** | |
| 392 | * Destroys the current (if any) Buddy List tooltip | |
| 393 | */ | |
| 394 | void pidgin_blist_tooltip_destroy(void); | |
| 395 | ||
|
32790
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32604
diff
changeset
|
396 | G_END_DECLS |
| 18970 | 397 | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
398 | #endif /* _PIDGINBLIST_H_ */ |