GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing docs.wxpython.org — wx.html2.WebViewFactory — wxPython 4.3.2 Docs
|
Function to create a new wx.html2.WebView with two-step creation, |
|
Create a wx.html2.WebViewConfiguration object for wx.html2.WebView instances created by this factory. |
|
Function to create a new wx.html2.WebView with two-step creation with a wx.html2.WebViewConfiguration, |
|
Function to check if the backend is available at runtime. |
Class API¶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, id, url=WebViewDefaultURLStr, pos=DefaultPosition, size=DefaultSize, style=0, name=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
Create a wx.html2.WebViewConfiguration object for wx.html2.WebView instances created by this factory.
Added in version 4.3/wxWidgets-3.3.0.
Function to create a new wx.html2.WebView with two-step creation with a wx.html2.WebViewConfiguration, wx.html2.WebView.Create should be called on the returned object.
config (wx.html2.WebViewConfiguration)
The created wx.html2.WebView.
Added in version 4.3/wxWidgets-3.3.0.
See also
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
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.