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