6 This program will load and run one of the individual demos in this 7 directory within its own frame window. Just specify the module name 13 import wx.lib.mixins.inspection
17 from libCatKernel
import *
23 overviewText =
"CAT Configuration Window" 25 wx.Frame.__init__(self, parent, wx.NewId(), title)
26 self.
path=os.path.join(os.environ.get(
"CATLAL"),
"CatPython",
"python")
27 res=xrc.XmlResource(os.path.join(self.
path,
"xrc/ConfPanel.xrc"))
28 self.
panel=res.LoadPanel(self,
"ConfPanel")
31 '''Responds to idle time in the system''' 36 '''Closes the application''' 37 dlg = wx.MessageDialog(self,
"Exit the program?",
"Exit", wx.YES_NO | wx.ICON_QUESTION)
38 if dlg.ShowModal() == wx.ID_YES:
43 '''Closes the application'''
def __init__(self, app, parent, title)
def onCloseConfirm(self, event)