]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/htlnkinf.tex
wxRichTextAttr does not exist anymore - document instead wxTextAttr
[wxWidgets.git] / docs / latex / wx / htlnkinf.tex
CommitLineData
846914d1
VS
1\section{\class{wxHtmlLinkInfo}}\label{wxhtmllinkinfo}
2
2edb0bde 3This class stores all necessary information about hypertext
846914d1 4links (as represented by {\tt <A>} tag in HTML documents). In
fa482912 5current implementation it stores URL and target frame name.
846914d1
VS
6{\it Note that frames are not currently supported by wxHTML!}
7
8\wxheading{Derived from}
9
10\helpref{wxObject}{wxobject}
11
9704b250
VS
12\wxheading{Include files}
13
14<wx/html/htmlcell.h>
15
a7af285d
VZ
16\wxheading{Library}
17
18\helpref{wxHtml}{librarieslist}
19
846914d1
VS
20\latexignore{\rtfignore{\wxheading{Members}}}
21
846914d1
VS
22\membersection{wxHtmlLinkInfo::wxHtmlLinkInfo}\label{wxhtmllinkinfowxhtmllinkinfo}
23
24\func{}{wxHtmlLinkInfo}{\void}
25
26Default ctor.
27
846914d1
VS
28\func{}{wxHtmlLinkInfo}{\param{const wxString\& }{href}, \param{const wxString\& }{target = wxEmptyString}}
29
30Construct hypertext link from HREF (aka URL) and TARGET (name of target
31frame).
32
9bc8fded
VS
33\membersection{wxHtmlLinkInfo::GetEvent}\label{wxhtmllinkinfogetevent}
34
35\func{const wxMouseEvent *}{GetEvent}{\void}
36
37Return pointer to event that generated OnLinkClicked event. Valid
38only within \helpref{wxHtmlWindow::OnLinkClicked}{wxhtmlwindowonlinkclicked},
39NULL otherwise.
40
41\membersection{wxHtmlLinkInfo::GetHtmlCell}\label{wxhtmllinkinfogethtmlcell}
42
43\func{const wxHtmlCell *}{GetHtmlCell}{\void}
44
45Return pointer to the cell that was clicked. Valid
46only within \helpref{wxHtmlWindow::OnLinkClicked}{wxhtmlwindowonlinkclicked},
47NULL otherwise.
48
49
846914d1
VS
50\membersection{wxHtmlLinkInfo::GetHref}\label{wxhtmllinkinfogethref}
51
52\func{wxString}{GetHref}{\void}
53
9bc8fded 54Return {\it HREF} value of the {\tt <A>} tag.
846914d1
VS
55
56\membersection{wxHtmlLinkInfo::GetTarget}\label{wxhtmllinkinfogettarget}
57
58\func{wxString}{GetTarget}{\void}
59
9bc8fded 60Return {\it TARGET} value of the {\tt <A>} tag (this value
846914d1 61is used to specify in which frame should be the page pointed
8771a323 62by \helpref{Href}{wxhtmllinkinfogethref} opened).
e12be2f7 63