Commit 9499b711 authored by Georg Brandl's avatar Georg Brandl

These are actually methods.

parent 04a51ec8
......@@ -154,20 +154,20 @@ webbrowser.open_new(url)
Browser controllers provide two methods which parallel two of the
module-level convenience functions:
\begin{funcdesc}{open}{url\optional{, new\optional{, autoraise=1}}}
\begin{methoddesc}{open}{url\optional{, new\optional{, autoraise=1}}}
Display \var{url} using the browser handled by this controller.
If \var{new} is 1, a new browser window is opened if possible.
If \var{new} is 2, a new browser page ("tab") is opened if possible.
\end{funcdesc}
\end{methoddesc}
\begin{funcdesc}{open_new}{url}
\begin{methoddesc}{open_new}{url}
Open \var{url} in a new window of the browser handled by this
controller, if possible, otherwise, open \var{url} in the only
browser window. Alias \function{open_new}.
\end{funcdesc}
\end{methoddesc}
\begin{funcdesc}{open_new_tab}{url}
\begin{methoddesc}{open_new_tab}{url}
Open \var{url} in a new page ("tab") of the browser handled by this
controller, if possible, otherwise equivalent to \function{open_new}.
\versionadded{2.5}
\end{funcdesc}
\end{methoddesc}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment