2000-07-15 15:51:35 -04:00
|
|
|
\section{\class{wxToolTip}}\label{wxtooltip}
|
|
|
|
|
|
|
|
This class holds information about a tooltip associated with a window
|
|
|
|
(see \helpref{wxWindow::SetToolTip}{wxwindowsettooltip}).
|
|
|
|
|
|
|
|
The two static methods, \helpref{wxToolTip::Enable}{wxtooltipenable} and
|
|
|
|
\helpref{wxToolTip::SetDelay}{wxtooltipsetdelay} can be used to globally
|
|
|
|
alter tooltips behaviour.
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
|
2005-02-20 12:06:25 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/tooltip.h>
|
2000-07-15 15:51:35 -04:00
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
|
|
|
|
|
|
\membersection{wxToolTip::Enable}\label{wxtooltipenable}
|
|
|
|
|
|
|
|
\func{static void}{Enable}{\param{bool }{flag}}
|
|
|
|
|
|
|
|
Enable or disable tooltips globally.
|
|
|
|
|
2004-10-06 17:09:47 -04:00
|
|
|
May not be supported on all platforms (eg. wxCocoa).
|
|
|
|
|
2000-07-15 15:51:35 -04:00
|
|
|
|
|
|
|
\membersection{wxToolTip::SetDelay}\label{wxtooltipsetdelay}
|
|
|
|
|
|
|
|
\func{static void}{SetDelay}{\param{long }{msecs}}
|
|
|
|
|
|
|
|
Set the delay after which the tooltip appears.
|
|
|
|
|
2004-10-06 17:09:47 -04:00
|
|
|
May not be supported on all platforms (eg. wxCocoa).
|
2000-07-15 15:51:35 -04:00
|
|
|
|
|
|
|
\membersection{wxToolTip::wxToolTip}\label{wxtooltipwxtooltip}
|
|
|
|
|
|
|
|
\func{}{wxToolTip}{\param{const wxString\& }{tip}}
|
|
|
|
|
|
|
|
Constructor.
|
|
|
|
|
|
|
|
\membersection{wxToolTip::SetTip}\label{wxtooltipsettip}
|
|
|
|
|
|
|
|
\func{void}{SetTip}{\param{const wxString\& }{tip}}
|
|
|
|
|
|
|
|
Set the tooltip text.
|
|
|
|
|
|
|
|
|
|
|
|
\membersection{wxToolTip::GetTip}\label{wxtooltipgettip}
|
|
|
|
|
|
|
|
\constfunc{wxString}{GetTip}{\void}
|
|
|
|
|
|
|
|
Get the tooltip text.
|
|
|
|
|
|
|
|
\membersection{wxToolTip::GetWindow}\label{wxtooltipgetwindow}
|
|
|
|
|
|
|
|
\constfunc{wxWindow*}{GetWindow}{\void}
|
|
|
|
|
|
|
|
Get the associated window.
|
|
|
|
|