wx.html2.WebViewFSHandler¶
A wx.html2.WebView file system handler to support standard wx.FileSystem protocols of the form example:page.htm
The handler allows wx.html2.WebView to use wx.FileSystem in a similar fashion to its use with Html.
The wx.MemoryFSHandler documentation gives an example of how it may be used.
Added in version 2.9.5.
Class Hierarchy¶
Methods Summary¶
Constructor. |
|
Class API¶
- class wx.html2.WebViewFSHandler(WebViewHandler)¶
Possible constructors:
WebViewFSHandler(scheme) -> None
A WebView file system handler to support standard FileSystem protocols of the form example:page.htm The handler allows WebView to use FileSystem in a similar fashion to its use with Html.
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
.