htlnkinf.tex

来自「Wxpython Implemented on Windows CE, Sou」· TEX 代码 · 共 60 行

TEX
60
字号
\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>

\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).

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?