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