Mercurial > pidgin
diff pidgin/pidgintooltip.h @ 21945:3fc5862b834a
Use the new tooltip functions to draw the tooltips in the conversation window.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 28 Dec 2007 01:38:41 +0000 |
parents | f5d961556972 |
children | f60ce471c174 |
line wrap: on
line diff
--- a/pidgin/pidgintooltip.h Thu Dec 27 16:29:58 2007 +0000 +++ b/pidgin/pidgintooltip.h Fri Dec 28 01:38:41 2007 +0000 @@ -77,6 +77,20 @@ PidginTooltipCreateForTree create_cb, PidginTooltipPaint paint_cb); /** + * Setup tooltip drawing functions for any widget. + * + * @param widget The widget + * @param userdata The userdata to send to the callback functions + * @param create_cb Callback function to create the tooltip for the widget + * @param paint_cb Callback function to paint the tooltip + * + * @return @c TRUE if the tooltip callbacks were setup correctly. + * @since 2.4.0 + */ +gboolean pidgin_tooltip_setup_for_widget(GtkWidget *widget, gpointer userdata, + PidginTooltipCreate create_tooltip, PidginTooltipPaint paint_tooltip); + +/** * Destroy the tooltip. * @since 2.4.0 */ @@ -94,4 +108,5 @@ */ void pidgin_tooltip_show(GtkWidget *widget, gpointer userdata, PidginTooltipCreate create_cb, PidginTooltipPaint paint_cb); + #endif