pidgin/pidgintooltip.h

Tue, 01 Dec 2020 01:00:55 -0600

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Tue, 01 Dec 2020 01:00:55 -0600
changeset 40632
cb8fd8a527ab
parent 40502
875489636847
child 40939
bf7c5e88e5e7
permissions
-rw-r--r--

Remove deleted zephyr files from translation.

Testing Done:
Run `ninja pidgin-pot`.

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

21903
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
1 /* pidgin
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
2 *
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
3 * Pidgin is the legal property of its developers, whose names are too numerous
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
4 * to list here. Please refer to the COPYRIGHT file distributed with this
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
5 * source distribution.
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
6 *
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
7 * This program is free software; you can redistribute it and/or modify
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
8 * it under the terms of the GNU General Public License as published by
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
9 * the Free Software Foundation; either version 2 of the License, or
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
10 * (at your option) any later version.
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
11 *
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
12 * This program is distributed in the hope that it will be useful,
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
15 * GNU General Public License for more details.
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
16 *
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
17 * You should have received a copy of the GNU General Public License
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
18 * along with this program; if not, write to the Free Software
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
20 */
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35451
diff changeset
21
40502
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 38743
diff changeset
22 #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION)
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 38743
diff changeset
23 # error "only <pidgin.h> may be included directly"
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 38743
diff changeset
24 #endif
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 38743
diff changeset
25
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35451
diff changeset
26 #ifndef _PIDGIN_TOOLTIP_H_
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35451
diff changeset
27 #define _PIDGIN_TOOLTIP_H_
35451
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
28 /**
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
29 * SECTION:pidgintooltip
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
30 * @section_id: pidgin-pidgintooltip
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
31 * @short_description: <filename>pidgintooltip.h</filename>
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
32 * @title: Pidgin Tooltip API
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
33 */
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
34
21903
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
35 #include <gtk/gtk.h>
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
36
21998
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
37 /**
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
38 * PidginTooltipCreateForTree:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
39 * @tipwindow: The window for the tooltip.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
40 * @path: The GtkTreePath representing the row under the cursor.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
41 * @userdata: The userdata set during pidgin_tooltip_setup_for_treeview.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
42 * @w: The value of this should be set to the desired width of the tooltip window.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
43 * @h: The value of this should be set to the desired height of the tooltip window.
21998
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
44 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
45 * Returns: %TRUE if the tooltip was created correctly, %FALSE otherwise.
21998
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
46 */
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
47 typedef gboolean (*PidginTooltipCreateForTree)(GtkWidget *tipwindow,
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
48 GtkTreePath *path, gpointer userdata, int *w, int *h);
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
49
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
50 /**
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
51 * PidginTooltipCreate:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
52 * @tipwindow: The window for the tooltip.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
53 * @userdata: The userdata set during pidgin_tooltip_show.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
54 * @w: The value of this should be set to the desired width of the tooltip window.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
55 * @h: The value of this should be set to the desired height of the tooltip window.
21998
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
56 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
57 * Returns: %TRUE if the tooltip was created correctly, %FALSE otherwise.
21998
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
58 */
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
59 typedef gboolean (*PidginTooltipCreate)(GtkWidget *tipwindow,
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
60 gpointer userdata, int *w, int *h);
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
61
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
62 /**
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
63 * PidginTooltipPaint:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
64 * @tipwindow: The window for the tooltip.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
65 * @cr: The cairo context for drawing.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
66 * @userdata: The userdata set during pidgin_tooltip_setup_for_treeview or pidgin_tooltip_show.
21998
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
67 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
68 * Returns: %TRUE if the tooltip was painted correctly, %FALSE otherwise.
21998
3dbae318c88d Refactor some of the tooltip drawing functions. And add some pretend docs.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21903
diff changeset
69 */
33161
c248c062f272 Pass the cairo context to the tooltip paint function.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32790
diff changeset
70 typedef gboolean (*PidginTooltipPaint)(GtkWidget *tipwindow, cairo_t *cr,
c248c062f272 Pass the cairo context to the tooltip paint function.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32790
diff changeset
71 gpointer userdata);
21903
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
72
32790
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32438
diff changeset
73 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: 32438
diff changeset
74
21903
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
75 /**
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
76 * pidgin_tooltip_setup_for_treeview:
38743
61e429efe744 A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents: 37094
diff changeset
77 * @tree: The treeview
61e429efe744 A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents: 37094
diff changeset
78 * @userdata: The userdata to send to the callback functions
61e429efe744 A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents: 37094
diff changeset
79 * @create_cb: (scope call): Callback function to create the tooltip for a GtkTreePath
61e429efe744 A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents: 37094
diff changeset
80 * @paint_cb: (scope call): Callback function to paint the tooltip
21903
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
81 *
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
82 * Setup tooltip drawing functions for a treeview.
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
83 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
84 * Returns: %TRUE if the tooltip callbacks were setup correctly.
21903
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
85 */
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
86 gboolean pidgin_tooltip_setup_for_treeview(GtkWidget *tree, gpointer userdata,
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
87 PidginTooltipCreateForTree create_cb, PidginTooltipPaint paint_cb);
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
88
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
89 /**
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
90 * pidgin_tooltip_setup_for_widget:
38743
61e429efe744 A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents: 37094
diff changeset
91 * @widget: The widget
61e429efe744 A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents: 37094
diff changeset
92 * @userdata: The userdata to send to the callback functions
61e429efe744 A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents: 37094
diff changeset
93 * @create_cb: (scope call): Callback function to create the tooltip for the widget
61e429efe744 A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents: 37094
diff changeset
94 * @paint_cb: (scope call): Callback function to paint the tooltip
22064
8b35fd51087d Use the new tooltip functions to draw the tooltips in the conversation window.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21998
diff changeset
95 *
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
96 * Setup tooltip drawing functions for any widget.
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
97 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
98 * Returns: %TRUE if the tooltip callbacks were setup correctly.
22064
8b35fd51087d Use the new tooltip functions to draw the tooltips in the conversation window.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21998
diff changeset
99 */
8b35fd51087d Use the new tooltip functions to draw the tooltips in the conversation window.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21998
diff changeset
100 gboolean pidgin_tooltip_setup_for_widget(GtkWidget *widget, gpointer userdata,
22362
cb8ef3599f3d Fix some minor 'make docs' errors. For some reason the callback
Mark Doliner <markdoliner@pidgin.im>
parents: 22064
diff changeset
101 PidginTooltipCreate create_cb, PidginTooltipPaint paint_cb);
22064
8b35fd51087d Use the new tooltip functions to draw the tooltips in the conversation window.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21998
diff changeset
102
8b35fd51087d Use the new tooltip functions to draw the tooltips in the conversation window.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21998
diff changeset
103 /**
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
104 * pidgin_tooltip_destroy:
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
105 *
21903
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
106 * Destroy the tooltip.
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
107 */
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
108 void pidgin_tooltip_destroy(void);
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
109
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
110 /**
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
111 * pidgin_tooltip_show:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
112 * @widget: The widget the tooltip is for
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 33161
diff changeset
113 * @userdata: The userdata to send to the callback functions
38743
61e429efe744 A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents: 37094
diff changeset
114 * @create_cb: (scope call): Callback function to create the tooltip from the GtkTreePath
61e429efe744 A lot of annotation cleanups!
Gary Kramlich <grim@reaperworld.com>
parents: 37094
diff changeset
115 * @paint_cb: (scope call): Callback function to paint the tooltip
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
116 *
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
117 * Create and show a tooltip.
21903
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
118 */
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
119 void pidgin_tooltip_show(GtkWidget *widget, gpointer userdata,
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
120 PidginTooltipCreate create_cb, PidginTooltipPaint paint_cb);
22064
8b35fd51087d Use the new tooltip functions to draw the tooltips in the conversation window.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21998
diff changeset
121
32790
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32438
diff changeset
122 G_END_DECLS
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32438
diff changeset
123
21903
5b5ad54ae1da Some utility functions for showing tooltips. This is used by the buddylist,
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
124 #endif

mercurial