📄 htlnkinf.tex
字号:
\section{\class{wxHtmlLinkInfo}}\label{wxhtmllinkinfo}This class stores all necessary information about hypertextlinks (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 targetframe).\membersection{wxHtmlLinkInfo::GetEvent}\label{wxhtmllinkinfogetevent}\func{const wxMouseEvent *}{GetEvent}{\void}Return pointer to event that generated OnLinkClicked event. Validonly 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. Validonly 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 valueis used to specify in which frame should be the page pointedby \helpref{Href}{wxhtmllinkinfogethref} opened).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -