diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-11-29 09:46:43 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-11-29 09:46:43 +0000 |
| commit | 549ef06358e4d31553640be9ec6f2df4a29a9d95 (patch) | |
| tree | de57b4252ab4a51ed187fefa1789ad8cfb97066e /documentation/Fl_Widget.html | |
| parent | f49f038cdbf6236e9ef398711dfc046200c4241b (diff) | |
STR #1467: explained tooltip inheritance - and how to avoid it).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_Widget.html')
| -rw-r--r-- | documentation/Fl_Widget.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/documentation/Fl_Widget.html b/documentation/Fl_Widget.html index dfc26277f..be07ae2f9 100644 --- a/documentation/Fl_Widget.html +++ b/documentation/Fl_Widget.html @@ -470,6 +470,11 @@ window when the user hovers the mouse over the widget. The string is <I>not</I> copied, so make sure any formatted string is stored in a <TT>static</TT>, global, or allocated buffer. +<P>If no tooltip is set, the tooltip of the parent is inherited. +Setting a tooltip for a group and setting no tooltip for a child +will show the group's tooltip instead. To avoid this behavior, +you can set the child's tooltip to an empty string +(<tt>""</tt>). <H4><A NAME="Fl_Widget.type">uchar Fl_Widget::type() const;</A></H4> |
