]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/tooltip.tex
added wxDataViewIconTextRenderer
[wxWidgets.git] / docs / latex / wx / tooltip.tex
1 \section{\class{wxToolTip}}\label{wxtooltip}
2
3 This class holds information about a tooltip associated with a window
4 (see \helpref{wxWindow::SetToolTip}{wxwindowsettooltip}).
5
6 The 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
10 alter 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
31 Enable or disable tooltips globally.
32
33 May 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
40 Set the delay after which the tooltip appears.
41
42 May 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
48 Set the delay after which the tooltip disappears or how long a
49 tooltip remains visible.
50 May 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
56 Set the delay between subsequent tooltips to appear.
57 May 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
63 Constructor.
64
65 \membersection{wxToolTip::SetTip}\label{wxtooltipsettip}
66
67 \func{void}{SetTip}{\param{const wxString\& }{tip}}
68
69 Set the tooltip text.
70
71
72 \membersection{wxToolTip::GetTip}\label{wxtooltipgettip}
73
74 \constfunc{wxString}{GetTip}{\void}
75
76 Get the tooltip text.
77
78 \membersection{wxToolTip::GetWindow}\label{wxtooltipgetwindow}
79
80 \constfunc{wxWindow*}{GetWindow}{\void}
81
82 Get the associated window.
83