MCPcopy Create free account
hub / github.com/ipython/ipython / OnInit

Method OnInit

examples/IPython Kernel/gui/gui-wx.py:81–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

79
80class MyApp(wx.App):
81 def OnInit(self):
82 frame = MyFrame(None, "Simple wxPython App")
83 self.SetTopWindow(frame)
84
85 print("Print statements go to this stdout window by default.")
86
87 frame.Show(True)
88 return True
89
90
91if __name__ == '__main__':

Callers

nothing calls this directly

Calls 1

MyFrameClass · 0.85

Tested by

no test coverage detected