Phoenix Logo

phoenix_title 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

New in version 2.9.5.


class_hierarchy Class Hierarchy

Inheritance diagram for class WebViewFactory:


method_summary Methods Summary

Create Function to create a new wx.html2.WebView with two-step creation, wx.html2.WebView.Create should be called on the returned object.

api Class API



class wx.html2.WebViewFactory(Object)

An abstract factory class for creating WebView backends.


Methods



Create(self, *args, **kw)

overload 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