comparison gtk/gtkblist.h @ 15182:fbe2187bceec

[gaim-migrate @ 17968] incomplete. Working on this from home. You may see where it's going. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 12 Dec 2006 04:45:02 +0000
parents ca46f41aa433
children a505577b6f4b
comparison
equal deleted inserted replaced
15181:4b500bd49d38 15182:fbe2187bceec
93 93
94 GtkWidget *tipwindow; /**< The window used by the tooltip */ 94 GtkWidget *tipwindow; /**< The window used by the tooltip */
95 GList *tooltipdata; /**< The data for each "chunk" of the tooltip */ 95 GList *tooltipdata; /**< The data for each "chunk" of the tooltip */
96 96
97 GaimBlistNode *selected_node; /**< The currently selected node */ 97 GaimBlistNode *selected_node; /**< The currently selected node */
98
99 GdkCursor *hand_cursor; /**< Hand cursor */
100 GdkCursor *arrow_cursor; /**< Arrow cursor */
98 101
99 GtkWidget *scrollbook; /**< Scrollbook for alerts */ 102 GtkWidget *scrollbook; /**< Scrollbook for alerts */
100 103 GtkWidget *headline_hbox; /**< Hbox for headline notification */
104 GtkWidget *headline_label; /**< Label for headline notifications */
105 GtkWidget *headline_image; /**< Image for headline notifications */
106 GCallback headline_callback; /**< Callback for headline notifications */
107 gpointer headline_data; /**< User data for headline notifications */
108
101 GtkWidget *error_buttons; /**< Box containing the connection error buttons */ 109 GtkWidget *error_buttons; /**< Box containing the connection error buttons */
102 GtkWidget *statusbox; /**< The status selector dropdown */ 110 GtkWidget *statusbox; /**< The status selector dropdown */
103 }; 111 };
104 112
105 #define GAIM_GTK_BLIST(list) ((GaimGtkBuddyList *)(list)->ui_data) 113 #define GAIM_GTK_BLIST(list) ((GaimGtkBuddyList *)(list)->ui_data)
312 * @param message The connection error message, or NULL if this 320 * @param message The connection error message, or NULL if this
313 * account is no longer in an error state. 321 * account is no longer in an error state.
314 */ 322 */
315 void gaim_gtk_blist_update_account_error_state(GaimAccount *account, const char *message); 323 void gaim_gtk_blist_update_account_error_state(GaimAccount *account, const char *message);
316 324
325 /**
326 * Sets a headline notification
327 *
328 * This is currently used for mail notification, but could theoretically be used for anything.
329 * Only the most recent headline will be shown.
330 *
331 * @param text Pango Markup for the label text
332 * @param pixbuf The GdkPixbuf for the icon
333 * @param callback The callback to call when headline is clicked
334 * @param user_data The userdata to include in the callback
335 */
336 void gaim_gtk_blist_set_headline(const char *text, GdkPixbuf *pixbuf, GCallback callback, gpointer user_data);
337
317 #endif /* _GAIM_GTKBLIST_H_ */ 338 #endif /* _GAIM_GTKBLIST_H_ */