The base class for handling custom schemes in wx.html2.WebView, for example to allow virtual file system support.
wx.html2.WebView ^^<>< =’’>:</>&;&;< =’’>\ </></>
New in version 2.9.3.
See also
wx.html2.WebViewArchiveHandler, wx.html2.WebViewFSHandler
Constructor. |
|
Sets a custom security URL. |
See |
|
See |
wx.html2.
WebViewHandler
(object)¶Possible constructors:
WebViewHandler(scheme)
The base class for handling custom schemes in WebView, for example to allow virtual file system support.
__init__
(self, scheme)¶Constructor.
Takes the name of the scheme that will be handled by this class for example file
or zip
.
scheme (string) –
GetFile
(self, uri)¶uri (string) –
FSFile
A pointer to the file represented by uri
.
GetName
(self)¶string
The name of the scheme, as passed to the constructor.
GetSecurityURL
(self)¶string
The custom security URL. Only used by WebViewIE .
New in version 4.1/wxWidgets-3.1.5.
SetSecurityURL
(self, url)¶Sets a custom security URL.
Only used by WebViewIE .
url (string) –
New in version 4.1/wxWidgets-3.1.5.
SecurityURL
¶See GetSecurityURL
and SetSecurityURL