forked from AuroraMiddleware/gtk
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:
parent
64f6d8cd7f
commit
7e0efdc102
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user