.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. _wx.html2.WebViewArchiveHandler: ========================================================================================================================================== |phoenix_title| **wx.html2.WebViewArchiveHandler** ========================================================================================================================================== A custom handler for the file scheme which also supports loading from archives. The syntax for :ref:`wx.html2.WebViewArchiveHandler` differs from virtual file systems in the rest of wxWidgets by using a syntax such as ``scheme:///C:/example/docs.zip;protocol=zip/main.htm`` Currently the only supported protocol is ``zip`` . :ref:`wx.html2.WebView` ^^<>< =''>:&;&;< =''>\\ .. versionadded:: 2.9.3 .. seealso:: :ref:`wx.html2.WebView`, :ref:`wx.html2.WebViewHandler` | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class WebViewArchiveHandler:
| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.html2.WebViewArchiveHandler.__init__` Constructor. :meth:`~wx.html2.WebViewArchiveHandler.GetFile` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: wx.html2.WebViewArchiveHandler(WebViewHandler) **Possible constructors**:: WebViewArchiveHandler(scheme) A custom handler for the file scheme which also supports loading from archives. .. method:: __init__(self, scheme) Constructor. :param `scheme`: :type `scheme`: string .. method:: GetFile(self, uri) :param `uri`: :type `uri`: string :rtype: `FSFile` :returns: A pointer to the file represented by ``uri`` .