documentation for wxHtmlWindow::OnOpeningURL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2002-01-19 23:23:28 +00:00
parent 04db5c3f8f
commit e03ca42681
2 changed files with 19 additions and 2 deletions

View File

@ -198,6 +198,15 @@ Called when user clicks on hypertext link. Default behaviour is to call
Also see \helpref{wxHtmlLinkInfo}{wxhtmllinkinfo}.
\membersection{wxHtmlWindow::OnOpeningURL}\label{wxhtmlwindowonopeningurl}
\func{virtual bool}{OnOpeningURL}{\param{const wxString\& }{url}}
Called when an URL is being opened (either when the user clicks on a link or
an image is loaded). If the function returns FALSE, the URL won't be fetched.
Default behaviour is to return TRUE.
Also see \helpref{wxHtmlWinParser::CanOpenURL}{wxhtmlwinparsercanopenurl}.
\membersection{wxHtmlWindow::OnSetTitle}\label{wxhtmlwindowonsettitle}

View File

@ -32,7 +32,7 @@ The product of parsing is a wxHtmlCell (resp. wxHtmlContainer) object.
\func{}{wxHtmlWinParser}{\void}
\func{}{wxHtmlWinParser}{\param{wxWindow }{*wnd}}
\func{}{wxHtmlWinParser}{\param{wxHtmlWindow }{*wnd}}
Constructor. Don't use the default one, use constructor with
{\it wnd} paremeter ({\it wnd} is pointer to associated \helpref{wxHtmlWindow}{wxhtmlwindow})
@ -43,6 +43,14 @@ Constructor. Don't use the default one, use constructor with
Adds \helpref{module}{handlers} to the list of wxHtmlWinParser tag handler.
\membersection{wxHtmlWinParser::CanOpenURL}\label{wxhtmlwinparsercanopenurl}
\func{virtual bool}{CanOpenURL}{\param{const wxString\& }{url}}
Call this function to determine whether you are allowed to open given URL.
Default behaviour is to call \helpref{wxHtmlWindow::OnOpeningURL}{wxhtmlwindowonopeningurl}
of the associated wxHtmlWindow object.
\membersection{wxHtmlWinParser::CloseContainer}\label{wxhtmlwinparserclosecontainer}
\func{wxHtmlContainerCell*}{CloseContainer}{\void}
@ -185,7 +193,7 @@ that is supported by operating system.
\membersection{wxHtmlWinParser::GetWindow}\label{wxhtmlwinparsergetwindow}
\func{wxWindow*}{GetWindow}{\void}
\func{wxHtmlWindow*}{GetWindow}{\void}
Returns associated window (wxHtmlWindow). This may be NULL! (You should always
test if it is non-NULL. For example {\tt TITLE} handler sets window