diff options
author | Damon Chaplin <damon@helixcode.com> | 2000-02-28 21:39:41 +0000 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2000-02-28 21:39:41 +0000 |
commit | e809560d6af9a3ba7410a7123d090cf65a110183 (patch) | |
tree | 04f8d6f55819cb9c25fde321fa62c2379a5e6ac5 /docs/reference/gtk/tmpl/gtktooltips.sgml | |
parent | a629fd7f848e4931f072c705c4eae15d05e4f031 (diff) | |
download | gtk+-e809560d6af9a3ba7410a7123d090cf65a110183.tar.gz |
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.
Diffstat (limited to 'docs/reference/gtk/tmpl/gtktooltips.sgml')
-rw-r--r-- | docs/reference/gtk/tmpl/gtktooltips.sgml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/reference/gtk/tmpl/gtktooltips.sgml b/docs/reference/gtk/tmpl/gtktooltips.sgml index 5486e8cb2d..b6349b70b5 100644 --- a/docs/reference/gtk/tmpl/gtktooltips.sgml +++ b/docs/reference/gtk/tmpl/gtktooltips.sgml @@ -17,6 +17,14 @@ The length of time the user must keep the mouse over a widget before the tip is <para> 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. +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> The default appearance of all tooltips in a program is determined by the current gtk theme that the user has selected. </para> |