wx.html2.WebViewArchiveHandler¶
A custom handler for the file scheme which also supports loading from archives.
The syntax for 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
.
Added in version 2.9.3.
See also
Class Hierarchy¶
Methods Summary¶
Constructor. |
|
Class API¶
- class wx.html2.WebViewArchiveHandler(WebViewHandler)¶
Possible constructors:
WebViewArchiveHandler(scheme) -> None
A custom handler for the file scheme which also supports loading from archives.
Methods¶
- __init__(self, scheme)¶
Constructor.
- Parameters:
scheme (string)
- Return type:
None
- GetFile(self, uri)¶
- Parameters:
uri (string)
- Return type:
FSFile
- Returns:
A pointer to the file represented by
uri
.