--- a/Documentation/Source/eric6.WebBrowser.WebBrowserTabWidget.html Wed Jul 05 19:57:39 2017 +0200 +++ b/Documentation/Source/eric6.WebBrowser.WebBrowserTabWidget.html Wed Jul 05 19:58:40 2017 +0200 @@ -212,9 +212,15 @@ <td><a href="#WebBrowserTabWidget.currentUrlBar">currentUrlBar</a></td> <td>Public method to get a reference to the current url bar.</td> </tr><tr> +<td><a href="#WebBrowserTabWidget.getSessionData">getSessionData</a></td> +<td>Public method to populate the session data.</td> +</tr><tr> <td><a href="#WebBrowserTabWidget.getSourceFileList">getSourceFileList</a></td> <td>Public method to get a list of all opened Qt help files.</td> </tr><tr> +<td><a href="#WebBrowserTabWidget.loadFromSessionData">loadFromSessionData</a></td> +<td>Public method to load the session data.</td> +</tr><tr> <td><a href="#WebBrowserTabWidget.newBrowser">newBrowser</a></td> <td>Public method to create a new web browser tab.</td> </tr><tr> @@ -611,6 +617,21 @@ <dd> reference to the current url bar (UrlBar) </dd> +</dl><a NAME="WebBrowserTabWidget.getSessionData" ID="WebBrowserTabWidget.getSessionData"></a> +<h4>WebBrowserTabWidget.getSessionData</h4> +<b>getSessionData</b>(<i></i>) +<p> + Public method to populate the session data. +</p><dl> +<dt>Returns:</dt> +<dd> +dictionary containing the session data +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> </dl><a NAME="WebBrowserTabWidget.getSourceFileList" ID="WebBrowserTabWidget.getSourceFileList"></a> <h4>WebBrowserTabWidget.getSourceFileList</h4> <b>getSourceFileList</b>(<i></i>) @@ -621,23 +642,37 @@ <dd> dictionary with tab id as key and host/namespace as value </dd> +</dl><a NAME="WebBrowserTabWidget.loadFromSessionData" ID="WebBrowserTabWidget.loadFromSessionData"></a> +<h4>WebBrowserTabWidget.loadFromSessionData</h4> +<b>loadFromSessionData</b>(<i>sessionData</i>) +<p> + Public method to load the session data. +</p><dl> +<dt><i>sessionData</i> (dict)</dt> +<dd> +dictionary containing the session data as + generated by getSessionData() +</dd> </dl><a NAME="WebBrowserTabWidget.newBrowser" ID="WebBrowserTabWidget.newBrowser"></a> <h4>WebBrowserTabWidget.newBrowser</h4> -<b>newBrowser</b>(<i>link=None, position=-1, background=False</i>) +<b>newBrowser</b>(<i>link=None, position=-1, background=False, restoreSession=False</i>) <p> Public method to create a new web browser tab. </p><dl> -<dt><i>link</i></dt> +<dt><i>link</i> (str or QUrl)</dt> <dd> -link to be shown (string or QUrl) -</dd><dt><i>position=</i></dt> +link to be shown +</dd><dt><i>position=</i> (int)</dt> <dd> position to create the new tab at or -1 to add it - to the end (integer) -</dd><dt><i>background=</i></dt> + to the end +</dd><dt><i>background=</i> (bool)</dt> <dd> flag indicating to open the tab in the - background (bool) + background +</dd><dt><i>restoreSession=</i> (bool)</dt> +<dd> +flag indicating a restore session action </dd> </dl><dl> <dt>Returns:</dt>