OpenMPCD
App.py
1 from .CanvasFrame import CanvasFrame
2 
3 import wx
4 
5 class App(wx.App):
6  """
7  wxPython application class.
8  """
9 
10  def __init__(self, plotter):
11  self.plotter = plotter
12  wx.App.__init__(self)
13 
14  def OnInit(self):
15  self.canvasFrame = CanvasFrame(self.plotter)
16  self.SetTopWindow(self.canvasFrame)
17  self.canvasFrame.Maximize(True)
18  self.canvasFrame.Show(True)
19  return True
MPCDAnalysis.InteractivePlotter.App.App.plotter
plotter
Definition: App.py:12
MPCDAnalysis.InteractivePlotter.CanvasFrame.CanvasFrame
Definition: CanvasFrame.py:12
MPCDAnalysis.InteractivePlotter.App.App.canvasFrame
canvasFrame
Definition: App.py:16