[Python-checkins] python/dist/src/Doc/lib libwebbrowser.tex, 1.11, 1.12

nnorwitz@users.sourceforge.net nnorwitz at users.sourceforge.net
Tue Oct 4 05:31:05 CEST 2005


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4770/lib

Modified Files:
	libwebbrowser.tex 
Log Message:
open_new_win does not exist.  use UNIX consistently, add autoraise parameter to open().  add versionadded tags to open_new_tab

Index: libwebbrowser.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libwebbrowser.tex,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- libwebbrowser.tex	3 Oct 2005 14:16:44 -0000	1.11
+++ libwebbrowser.tex	4 Oct 2005 03:31:01 -0000	1.12
@@ -11,7 +11,7 @@
 circumstances, simply calling the \function{open()} function from this
 module will do the right thing.
 
-Under \UNIX, graphical browsers are preferred under X11, but text-mode
+Under \UNIX{}, graphical browsers are preferred under X11, but text-mode
 browsers will be used if graphical browsers are not available or an X11
 display isn't available.  If text-mode browsers are used, the calling
 process will block until the user exits the browser.
@@ -26,9 +26,9 @@
 launch.
 
 For non-\UNIX{} platforms, or when a remote browser is available on
-\UNIX, the controlling process will not wait for the user to finish
+\UNIX{}, the controlling process will not wait for the user to finish
 with the browser, but allow the remote browser to maintain its own
-windows on the display.  If remote browsers are not available on \UNIX,
+windows on the display.  If remote browsers are not available on \UNIX{},
 the controlling process will launch a new browser and wait.
 
 The script \program{webbrowser} can be used as a command-line interface
@@ -45,7 +45,7 @@
 
 The following functions are defined:
 
-\begin{funcdesc}{open}{url\optional{, new=0}\optional{, autoraise=1}}
+\begin{funcdesc}{open}{url\optional{, new=0\optional{, autoraise=1}}}
   Display \var{url} using the default browser. If \var{new} is 0, the
   \var{url} is opened in the same browser window.  If \var{new} is 1,
   a new browser window is opened if possible.  If \var{new} is 2,
@@ -55,15 +55,15 @@
 
 \end{funcdesc}
 
-\begin{funcdesc}{open_new_win}{url}
+\begin{funcdesc}{open_new}{url}
   Open \var{url} in a new window of the default browser, if possible,
-  otherwise, open \var{url} in the only browser window.  Alias
-  \function{open_new}.
+  otherwise, open \var{url} in the only browser window.
 \end{funcdesc}
 
 \begin{funcdesc}{open_new_tab}{url}
   Open \var{url} in a new page ("tab") of the default browser, if possible,
-  otherwise equivalent to \function{open_new_win}.
+  otherwise equivalent to \function{open_new}.
+\versionadded{2.5}
 \end{funcdesc}
 
 \begin{funcdesc}{get}{\optional{name}}
@@ -117,7 +117,7 @@
 \begin{description}
 \item[(1)]
 ``Konqueror'' is the file manager for the KDE desktop environment for
-UNIX, and only makes sense to use if KDE is running.  Some way of
+\UNIX{}, and only makes sense to use if KDE is running.  Some way of
 reliably detecting KDE would be nice; the \envvar{KDEDIR} variable is
 not sufficient.  Note also that the name ``kfm'' is used even when
 using the \program{konqueror} command with KDE 2 --- the
@@ -141,13 +141,13 @@
 Browser controllers provide two methods which parallel two of the
 module-level convenience functions:
 
-\begin{funcdesc}{open}{url\optional{, new}}
+\begin{funcdesc}{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}
 
-\begin{funcdesc}{open_new_win}{url}
+\begin{funcdesc}{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}.
@@ -155,5 +155,6 @@
 
 \begin{funcdesc}{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_win}.
+  controller, if possible, otherwise equivalent to \function{open_new}.
+\versionadded{2.5}
 \end{funcdesc}



More information about the Python-checkins mailing list