a7af285d1a
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
64 lines
1.8 KiB
TeX
64 lines
1.8 KiB
TeX
\section{\class{wxHtmlLinkInfo}}\label{wxhtmllinkinfo}
|
|
|
|
This class stores all necessary information about hypertext
|
|
links (as represented by {\tt <A>} tag in HTML documents). In
|
|
current implementation it stores URL and target frame name.
|
|
{\it Note that frames are not currently supported by wxHTML!}
|
|
|
|
\wxheading{Derived from}
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
\wxheading{Include files}
|
|
|
|
<wx/html/htmlcell.h>
|
|
|
|
\wxheading{Library}
|
|
|
|
\helpref{wxHtml}{librarieslist}
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
\membersection{wxHtmlLinkInfo::wxHtmlLinkInfo}\label{wxhtmllinkinfowxhtmllinkinfo}
|
|
|
|
\func{}{wxHtmlLinkInfo}{\void}
|
|
|
|
Default ctor.
|
|
|
|
\func{}{wxHtmlLinkInfo}{\param{const wxString\& }{href}, \param{const wxString\& }{target = wxEmptyString}}
|
|
|
|
Construct hypertext link from HREF (aka URL) and TARGET (name of target
|
|
frame).
|
|
|
|
\membersection{wxHtmlLinkInfo::GetEvent}\label{wxhtmllinkinfogetevent}
|
|
|
|
\func{const wxMouseEvent *}{GetEvent}{\void}
|
|
|
|
Return pointer to event that generated OnLinkClicked event. Valid
|
|
only within \helpref{wxHtmlWindow::OnLinkClicked}{wxhtmlwindowonlinkclicked},
|
|
NULL otherwise.
|
|
|
|
\membersection{wxHtmlLinkInfo::GetHtmlCell}\label{wxhtmllinkinfogethtmlcell}
|
|
|
|
\func{const wxHtmlCell *}{GetHtmlCell}{\void}
|
|
|
|
Return pointer to the cell that was clicked. Valid
|
|
only within \helpref{wxHtmlWindow::OnLinkClicked}{wxhtmlwindowonlinkclicked},
|
|
NULL otherwise.
|
|
|
|
|
|
\membersection{wxHtmlLinkInfo::GetHref}\label{wxhtmllinkinfogethref}
|
|
|
|
\func{wxString}{GetHref}{\void}
|
|
|
|
Return {\it HREF} value of the {\tt <A>} tag.
|
|
|
|
\membersection{wxHtmlLinkInfo::GetTarget}\label{wxhtmllinkinfogettarget}
|
|
|
|
\func{wxString}{GetTarget}{\void}
|
|
|
|
Return {\it TARGET} value of the {\tt <A>} tag (this value
|
|
is used to specify in which frame should be the page pointed
|
|
by \helpref{Href}{wxhtmllinkinfogethref} opened).
|
|
|