From 7ee58b97753e5d23a2b079e56901a9550a55eb6f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 26 Jun 2007 05:04:41 +0000 Subject: [PATCH] Updates svn path=/trunk/; revision=18237 --- docs/reference/gtk/tmpl/gtktooltip.sgml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/reference/gtk/tmpl/gtktooltip.sgml b/docs/reference/gtk/tmpl/gtktooltip.sgml index f0f83d1b0c..15a00ccc3f 100644 --- a/docs/reference/gtk/tmpl/gtktooltip.sgml +++ b/docs/reference/gtk/tmpl/gtktooltip.sgml @@ -6,7 +6,17 @@ Add tips to your widgets - +#GtkTooltip belongs to the new tooltips API that was +introduced in GTK+ 2.12 and which deprecates the old +#GtkTooltips API. + + +Basic tooltips can be realized simply by using +gtk_widget_set_tooltip_text() or gtk_widget_set_tooltip_markup() without +any explicit tooltip object. For fancy tooltips, you will likely +connect to the #GtkWidget::query-tooltip signal, which is passed +a #GtkTooltip object as the last parameter. You can use functions +like gtk_tooltip_set_icon() to modify the tooltip.