Commit e809560d authored by Damon Chaplin's avatar Damon Chaplin Committed by Damon Chaplin
Browse files

added a note about no-window widgets.

2000-06-14  Damon Chaplin  <damon@helixcode.com>

	* gtk/tmpl/gtktooltips.sgml: added a note about no-window widgets.
parent a629fd7f
...@@ -17,6 +17,14 @@ The length of time the user must keep the mouse over a widget before the tip is ...@@ -17,6 +17,14 @@ The length of time the user must keep the mouse over a widget before the tip is
<para> <para>
To assign a tip to a particular #GtkWidget, gtk_tooltips_set_tip() is used. To assign a tip to a particular #GtkWidget, gtk_tooltips_set_tip() is used.
</para> </para>
<note>
<para>
Tooltips can only be set on widgets which have their own X window.
To check if a widget has its own window use 'GTK_WIDGET_NO_WINDOW (widget)'.
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.
</para>
</note>
<para> <para>
The default appearance of all tooltips in a program is determined by the current gtk theme that the user has selected. The default appearance of all tooltips in a program is determined by the current gtk theme that the user has selected.
</para> </para>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment