]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/tooltip.tex
Added AdvanceSelection, ShowWindowMenu and keyboard handling
[wxWidgets.git] / docs / latex / wx / tooltip.tex
... / ...
CommitLineData
1\section{\class{wxToolTip}}\label{wxtooltip}
2
3This class holds information about a tooltip associated with a window
4(see \helpref{wxWindow::SetToolTip}{wxwindowsettooltip}).
5
6The four static methods, \helpref{wxToolTip::Enable}{wxtooltipenable},
7\helpref{wxToolTip::SetDelay}{wxtooltipsetdelay}
8\helpref{wxToolTip::SetAutoPop}{wxtooltipsetautopop} and
9\helpref{wxToolTip::SetReshow}{wxtooltipsetreshow} can be used to globally
10alter tooltips behaviour.
11
12\wxheading{Derived from}
13
14\helpref{wxObject}{wxobject}
15
16\wxheading{Include files}
17
18<wx/tooltip.h>
19
20\wxheading{Library}
21
22\helpref{wxCore}{librarieslist}
23
24\latexignore{\rtfignore{\wxheading{Members}}}
25
26
27\membersection{wxToolTip::Enable}\label{wxtooltipenable}
28
29\func{static void}{Enable}{\param{bool }{flag}}
30
31Enable or disable tooltips globally.
32
33May not be supported on all platforms (eg. wxCocoa).
34
35
36\membersection{wxToolTip::SetDelay}\label{wxtooltipsetdelay}
37
38\func{static void}{SetDelay}{\param{long }{msecs}}
39
40Set the delay after which the tooltip appears.
41
42May not be supported on all platforms (eg. wxCocoa).
43
44\membersection{wxToolTip::SetAutoPop}\label{wxtooltipsetautopop}
45
46\func{static void}{SetAutoPop}{\param{long }{msecs}}
47
48Set the delay after which the tooltip disappears or how long a
49tooltip remains visible.
50May not be supported on all platforms (eg. wxCocoa, GTK, Palmos).
51
52\membersection{wxToolTip::SetReshow}\label{wxtooltipsetreshow}
53
54\func{static void}{SetReshow}{\param{long }{msecs}}
55
56Set the delay between subsequent tooltips to appear.
57May not be supported on all platforms (eg. wxCocoa, GTK, Palmos).
58
59\membersection{wxToolTip::wxToolTip}\label{wxtooltipwxtooltip}
60
61\func{}{wxToolTip}{\param{const wxString\& }{tip}}
62
63Constructor.
64
65\membersection{wxToolTip::SetTip}\label{wxtooltipsettip}
66
67\func{void}{SetTip}{\param{const wxString\& }{tip}}
68
69Set the tooltip text.
70
71
72\membersection{wxToolTip::GetTip}\label{wxtooltipgettip}
73
74\constfunc{wxString}{GetTip}{\void}
75
76Get the tooltip text.
77
78\membersection{wxToolTip::GetWindow}\label{wxtooltipgetwindow}
79
80\constfunc{wxWindow*}{GetWindow}{\void}
81
82Get the associated window.
83