From 549ef06358e4d31553640be9ec6f2df4a29a9d95 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 29 Nov 2006 09:46:43 +0000 Subject: 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 --- documentation/Fl_Widget.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'documentation') 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 not copied, so make sure any formatted string is stored in a static, global, or allocated buffer. +

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 +("").

uchar Fl_Widget::type() const;

-- cgit v1.2.3