MCPcopy Create free account
hub / github.com/cztomczak/cefpython / __init__

Method __init__

src/cefpython3.wx/examples/sample2.py:31–39  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29
30class MainFrame(wx.Frame):
31 def __init__(self):
32 wx.Frame.__init__(self, parent=None, id=wx.ID_ANY,
33 title='cefwx example2', size=(800, 600))
34
35 self.initComponents()
36 self.layoutComponents()
37 self.initEventHandlers()
38 if len(sys.argv) == 2 and sys.argv[1] == "test-launch":
39 wx.CallLater(500, self.testLaunch)
40
41 def testLaunch(self):
42 # This hash is checked by /tests/test-launch.sh script

Callers

nothing calls this directly

Calls 3

initComponentsMethod · 0.95
layoutComponentsMethod · 0.95
initEventHandlersMethod · 0.95

Tested by

no test coverage detected