Mention enter and leave events. (#167546, Billy Biggs)

2005-04-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtktooltips.sgml: Mention enter and leave
	events.  (#167546, Billy Biggs)
This commit is contained in:
Matthias Clasen 2005-04-05 12:25:18 +00:00 committed by Matthias Clasen
parent 64f6d8cd7f
commit 7e0efdc102
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-04-05 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtktooltips.sgml: Mention enter and leave
events. (#167546, Billy Biggs)
2005-04-04 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add new functions.

View File

@ -19,7 +19,8 @@ To assign a tip to a particular #GtkWidget, gtk_tooltips_set_tip() is used.
</para>
<note>
<para>
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.