/////////////////////////////////////////////////////////////////////////////
// Name: tooltip.h
-// Purpose: documentation for wxToolTip class
+// Purpose: interface of wxToolTip
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
/**
@class wxToolTip
@wxheader{tooltip.h}
-
+
This class holds information about a tooltip associated with a window
(see wxWindow::SetToolTip).
-
+
The four static methods, wxToolTip::Enable,
- wxToolTip::SetDelay
- wxToolTip::SetAutoPop and
+ wxToolTip::SetDelay
+ wxToolTip::SetAutoPop and
wxToolTip::SetReshow can be used to globally
alter tooltips behaviour.
-
+
@library{wxcore}
@category{help}
*/
/**
Enable or disable tooltips globally.
-
May not be supported on all platforms (eg. wxCocoa).
*/
static void Enable(bool flag);
/**
Get the tooltip text.
*/
- wxString GetTip();
+ wxString GetTip() const;
/**
Get the associated window.
*/
- wxWindow* GetWindow();
+ wxWindow* GetWindow() const;
/**
Set the delay after which the tooltip disappears or how long a
/**
Set the delay after which the tooltip appears.
-
May not be supported on all platforms (eg. wxCocoa).
*/
static void SetDelay(long msecs);
*/
void SetTip(const wxString& tip);
};
+