An abstract factory class for creating wx.html2.WebView backends.
Each implementation of wx.html2.WebView should have its own factory.
Added in version 2.9.5.
See also
Function to create a new wx.html2.WebView with two-step creation, |
|
Retrieve the version information about this backend implementation. |
|
Function to check if the backend is available at runtime. |
See |
An abstract factory class for creating WebView backends.
Create (self)
Function to create a new wx.html2.WebView with two-step creation, wx.html2.WebView.Create
should be called on the returned object.
the created wx.html2.WebView
Create (self, parent : Window, id : int, url: str=WebViewDefaultURLStr, pos: Point=DefaultPosition, size: Size=DefaultSize, style: int=0, name: str=WebViewNameStr)
Function to create a new wx.html2.WebView with parameters.
parent (wx.Window) – Parent window for the control
id (wx.WindowID) – ID
of this control
url (string) – Initial URL to load
pos (wx.Point) – Position of the control
size (wx.Size) – Size of the control
style (long) – Window style. For generic window styles, please see wx.Window.
name (string) – Window name.
the created wx.html2.WebView
Retrieve the version information about this backend implementation.
Added in version 4.1/wxWidgets-3.1.5.
Function to check if the backend is available at runtime.
The wx.html2.WebView implementation can use this function to check all runtime requirements without trying to create a wx.html2.WebView.
bool
returns True
if the backend can be used or False
if it is not available during runtime.
Added in version 4.1/wxWidgets-3.1.5.
See GetVersionInfo