A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wxpython.org/Phoenix/docs/html/wx.html2.WebViewFactory.html below:

wx.html2.WebViewFactory — wxPython Phoenix 4.2.4a1 documentation

wx.html2.WebViewFactory¶

An abstract factory class for creating wx.html2.WebView backends.

Each implementation of wx.html2.WebView should have its own factory.

wx.html2.WebView

Added in version 2.9.5.

Class Hierarchy¶

Inheritance diagram for class

WebViewFactory

:

Methods Summary¶ Properties Summary¶ Class API¶
class wx.html2.WebViewFactory(Object)¶

An abstract factory class for creating WebView backends.


Methods¶
Create(self, *args, **kw)¶

Overloaded Implementations:

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.

Return type:

wx.html2.WebView

Returns:

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.

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.

Return type:

wx.html2.WebView

Returns:

the created wx.html2.WebView



GetVersionInfo(self)¶

Retrieve the version information about this backend implementation.

Return type:

VersionInfo

Added in version 4.1/wxWidgets-3.1.5.


IsAvailable(self)¶

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.

Return type:

bool

Returns:

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.


Properties¶
VersionInfo¶

See GetVersionInfo


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4