]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/tooltip.tex
added ReadType convenience functions (patch 1764160)
[wxWidgets.git] / docs / latex / wx / tooltip.tex
CommitLineData
f6bcfd97
BP
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
becac1ef
VZ
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
f6bcfd97
BP
10alter tooltips behaviour.
11
12\wxheading{Derived from}
13
14\helpref{wxObject}{wxobject}
15
0e10e38d
VZ
16\wxheading{Include files}
17
18<wx/tooltip.h>
f6bcfd97 19
a7af285d
VZ
20\wxheading{Library}
21
22\helpref{wxCore}{librarieslist}
23
f6bcfd97
BP
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
26191790
RN
33May not be supported on all platforms (eg. wxCocoa).
34
f6bcfd97
BP
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
26191790 42May not be supported on all platforms (eg. wxCocoa).
f6bcfd97 43
becac1ef
VZ
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
f6bcfd97
BP
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