From 7e0efdc10229776ada2fab6e50816d16954fb13e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 5 Apr 2005 12:25:18 +0000 Subject: [PATCH] Mention enter and leave events. (#167546, Billy Biggs) 2005-04-05 Matthias Clasen * gtk/tmpl/gtktooltips.sgml: Mention enter and leave events. (#167546, Billy Biggs) --- docs/reference/ChangeLog | 5 +++++ docs/reference/gtk/tmpl/gtktooltips.sgml | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 0566aaf890..0aaa15c61d 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2005-04-05 Matthias Clasen + + * gtk/tmpl/gtktooltips.sgml: Mention enter and leave + events. (#167546, Billy Biggs) + 2005-04-04 Matthias Clasen * gtk/gtk-sections.txt: Add new functions. diff --git a/docs/reference/gtk/tmpl/gtktooltips.sgml b/docs/reference/gtk/tmpl/gtktooltips.sgml index c6c60c4167..85d47304f0 100644 --- a/docs/reference/gtk/tmpl/gtktooltips.sgml +++ b/docs/reference/gtk/tmpl/gtktooltips.sgml @@ -19,7 +19,8 @@ To assign a tip to a particular #GtkWidget, gtk_tooltips_set_tip() is used. -Tooltips can only be set on widgets which have their own X window. +Tooltips can only be set on widgets which have their own X window and +receive enter and leave events. To check if a widget has its own window use GTK_WIDGET_NO_WINDOW(). To add a tooltip to a widget that doesn't have its own window, place the widget inside a #GtkEventBox and add a tooltip to that instead.