This class holds information about a tooltip associated with a window (see wxWindow::SetToolTip).
The two static methods, wxToolTip::Enable and wxToolTip::SetDelay can be used to globally alter tooltips behaviour.
Derived from
Include files
<wx/tooltip.h>
Members
wxToolTip::Enable
wxToolTip::SetDelay
wxToolTip::wxToolTip
wxToolTip::SetTip
wxToolTip::GetTip
wxToolTip::GetWindow
static void Enable(bool flag)
Enable or disable tooltips globally.
May not be supported on all platforms (eg. wxCocoa).
static void SetDelay(long msecs)
Set the delay after which the tooltip appears.
May not be supported on all platforms (eg. wxCocoa).
wxToolTip(const wxString& tip)
Constructor.
void SetTip(const wxString& tip)
Set the tooltip text.
wxString GetTip() const
Get the tooltip text.
wxWindow* GetWindow() const
Get the associated window.