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:36 +00:00
committed by Matthias Clasen
parent 952753549d
commit 65f2672fa5
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-01 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkselection.sgml: Move docs inline.

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.