pidgin 2.14.14dev
Loading...
Searching...
No Matches
pidgintooltip.h
Go to the documentation of this file.
1
6/* pidgin
7 *
8 * Pidgin is the legal property of its developers, whose names are too numerous
9 * to list here. Please refer to the COPYRIGHT file distributed with this
10 * source distribution.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
25 */
26#ifndef _PIDGIN_TOOLTIP_H_
27#define _PIDGIN_TOOLTIP_H_
28
29#include <gtk/gtk.h>
30
41typedef gboolean (*PidginTooltipCreateForTree)(GtkWidget *tipwindow,
42 GtkTreePath *path, gpointer userdata, int *w, int *h);
43
53typedef gboolean (*PidginTooltipCreate)(GtkWidget *tipwindow,
54 gpointer userdata, int *w, int *h);
55
63typedef gboolean (*PidginTooltipPaint)(GtkWidget *tipwindow, gpointer userdata);
64
76gboolean pidgin_tooltip_setup_for_treeview(GtkWidget *tree, gpointer userdata,
78
90gboolean pidgin_tooltip_setup_for_widget(GtkWidget *widget, gpointer userdata,
91 PidginTooltipCreate create_cb, PidginTooltipPaint paint_cb);
92
98
109void pidgin_tooltip_show(GtkWidget *widget, gpointer userdata,
110 PidginTooltipCreate create_cb, PidginTooltipPaint paint_cb);
111
112#endif
gboolean(* PidginTooltipCreate)(GtkWidget *tipwindow, gpointer userdata, int *w, int *h)
void pidgin_tooltip_show(GtkWidget *widget, gpointer userdata, PidginTooltipCreate create_cb, PidginTooltipPaint paint_cb)
Create and show a tooltip.
gboolean pidgin_tooltip_setup_for_widget(GtkWidget *widget, gpointer userdata, PidginTooltipCreate create_cb, PidginTooltipPaint paint_cb)
Setup tooltip drawing functions for any widget.
gboolean(* PidginTooltipPaint)(GtkWidget *tipwindow, gpointer userdata)
gboolean pidgin_tooltip_setup_for_treeview(GtkWidget *tree, gpointer userdata, PidginTooltipCreateForTree create_cb, PidginTooltipPaint paint_cb)
Setup tooltip drawing functions for a treeview.
gboolean(* PidginTooltipCreateForTree)(GtkWidget *tipwindow, GtkTreePath *path, gpointer userdata, int *w, int *h)
void pidgin_tooltip_destroy(void)
Destroy the tooltip.