| 248 |
248 |
| 249 /** |
249 /** |
| 250 * Sets the current theme for Pidgin to use |
250 * Sets the current theme for Pidgin to use |
| 251 * |
251 * |
| 252 * @param theme the new theme to use |
252 * @param theme the new theme to use |
| 253 * |
|
| 254 * @since 2.6.0 |
|
| 255 */ |
253 */ |
| 256 void pidgin_blist_set_theme(PidginBlistTheme *theme); |
254 void pidgin_blist_set_theme(PidginBlistTheme *theme); |
| 257 |
255 |
| 258 /** |
256 /** |
| 259 * Gets Pidgin's current buddy list theme |
257 * Gets Pidgin's current buddy list theme |
| 260 * |
258 * |
| 261 * @returns the current theme |
259 * @returns the current theme |
| 262 * |
|
| 263 * @since 2.6.0 |
|
| 264 */ |
260 */ |
| 265 PidginBlistTheme *pidgin_blist_get_theme(void); |
261 PidginBlistTheme *pidgin_blist_get_theme(void); |
| 266 |
262 |
| 267 /************************************************************************** |
263 /************************************************************************** |
| 268 * @name GTK+ Buddy List sorting functions |
264 * @name GTK+ Buddy List sorting functions |
| 380 * |
376 * |
| 381 * @param buddy The buddy to return markup from |
377 * @param buddy The buddy to return markup from |
| 382 * @param selected Whether this buddy is selected. If TRUE, the markup will not change the color. |
378 * @param selected Whether this buddy is selected. If TRUE, the markup will not change the color. |
| 383 * @param aliased TRUE to return the appropriate alias of this buddy, FALSE to return its username and status information |
379 * @param aliased TRUE to return the appropriate alias of this buddy, FALSE to return its username and status information |
| 384 * @return The markup for this buddy |
380 * @return The markup for this buddy |
| 385 * |
|
| 386 * @since 2.1.0 |
|
| 387 */ |
381 */ |
| 388 gchar *pidgin_blist_get_name_markup(PurpleBuddy *buddy, gboolean selected, gboolean aliased); |
382 gchar *pidgin_blist_get_name_markup(PurpleBuddy *buddy, gboolean selected, gboolean aliased); |
| 389 |
383 |
| 390 /** |
384 /** |
| 391 * Creates the Buddy List tooltip at the current pointer location for the given buddy list node. |
385 * Creates the Buddy List tooltip at the current pointer location for the given buddy list node. |
| 393 * This tooltip will be destroyed the next time this function is called, or when XXXX |
387 * This tooltip will be destroyed the next time this function is called, or when XXXX |
| 394 * is called |
388 * is called |
| 395 * |
389 * |
| 396 * @param node The buddy list node to show a tooltip for |
390 * @param node The buddy list node to show a tooltip for |
| 397 * @param widget The widget to draw the tooltip on |
391 * @param widget The widget to draw the tooltip on |
| 398 * |
|
| 399 * @since 2.1.0 |
|
| 400 */ |
392 */ |
| 401 void pidgin_blist_draw_tooltip(PurpleBlistNode *node, GtkWidget *widget); |
393 void pidgin_blist_draw_tooltip(PurpleBlistNode *node, GtkWidget *widget); |
| 402 |
394 |
| 403 /** |
395 /** |
| 404 * Destroys the current (if any) Buddy List tooltip |
396 * Destroys the current (if any) Buddy List tooltip |
| 405 * |
|
| 406 * @since 2.1.0 |
|
| 407 */ |
397 */ |
| 408 void pidgin_blist_tooltip_destroy(void); |
398 void pidgin_blist_tooltip_destroy(void); |
| 409 |
399 |
| 410 |
400 |
| 411 #endif /* _PIDGINBLIST_H_ */ |
401 #endif /* _PIDGINBLIST_H_ */ |