;ò ¦•‹Bc@sldkZdkZdkZeiƒZeZedZd„ZdZdZ dZ dZ dZ dZ d Zd Zd Zed ƒZed ƒZeedƒZedƒZdZdeZdeZedƒZedƒeZede de dƒZedƒZedƒZedƒZedƒZedƒZedƒZ edƒZ!edƒZ"ed ƒZ#dS(!NicCs#|idtƒidtiƒSdS(Ns s (sssreplacesidntsosslinesep(ss((sQ/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/sourceconst.pyswsfixss#BoasBoaApps _init_ctrlss _init_coll_s _init_utilss _init_propss _init_eventss _init_sizerssgenerated method, don't edits#!/usr/bin/env python s import wx s:%(modelIdent)s:%(main)s s.def create(parent): return %(main)s(parent) s2\[wx.NewId\(\) for %s in range\((?P\d+)\)\]s"\[(?P[A-Za-z0-9_, ]*)\] = s(?P.*)\] = s7] = [wx.NewId() for %(idIdent)s in range(%(idCount)d)] s [%(idNames)ss' class %(main)s(%(defaultName)s): def sZ(self, prnt): %(defaultName)s.__init__(%(params)s) def __init__(self, parent): self.s (parent) s…import %(mainModule)s modules = {'%(mainModule)s' : [1, 'Main frame of Application', 'none://%(mainModule)s.py']} class BoaApp(wx.App): def OnInit(self): wx.InitAllImageHandlers() self.main = %(mainModule)s.create(None) self.main.Show() self.SetTopWindow(self.main) return True def main(): application = BoaApp(0) application.MainLoop() if __name__ == '__main__': main() s\#----------------------------------------------------------------------------- # Name: %(Name)s # Purpose: %(Purpose)s # # Author: %(Author)s # # Created: %(Created)s # RCS-ID: %(RCS-ID)s # Copyright: %(Copyright)s # Licence: %(Licence)s #----------------------------------------------------------------------------- s| from distutils.core import setup setup(name = '%(name)s', version = '%(version)s', scripts = [%(scripts)s], ) s# Package initialisation sDmodules = {} def main(): pass if __name__ == '__main__': main() sH if __name__ == '__main__': pass # add a call to run your script here s… if __name__ == '__main__': app = wx.PySimpleApp() wx.InitAllImageHandlers() frame = create(None) frame.Show() app.MainLoop() s¦ if __name__ == '__main__': app = wx.PySimpleApp() wx.InitAllImageHandlers() dlg = create(None) try: dlg.ShowModal() finally: dlg.Destroy() app.MainLoop() sØ if __name__ == '__main__': app = wx.PySimpleApp() wx.InitAllImageHandlers() frame = wx.Frame(None, -1, 'Parent') frame.SetAutoLayout(True) frame.Show() popup = create(frame) popup.Show(True) app.MainLoop() ($soss PreferencessUtilssgetIndentBlocksidnts methodIndents bodyIndentswsfixsboaIdentsboaClasss init_ctrlss init_colls init_utilss init_propss init_eventss init_sizersscode_gen_warnings defEnvPythons defImportsdefSigsdefCreateClassssrchWindowIdsLCs srchWindowIdsssrchWindowIdsContsdefWindowIdsConts defWindowIdssdefClasssdefApps defInfoBlocks defSetup_pys defPackageSrcsdefPyAppssimpleModuleRunSrcssimpleAppFrameRunSrcssimpleAppDialogRunSrcssimpleAppPopupRunSrc(#sboaClasss Preferencesscode_gen_warnings init_sizerss init_ctrlsssimpleAppDialogRunSrcs defPackageSrcs init_colls defImports init_eventssdefCreateClassssimpleAppPopupRunSrcs defEnvPythonsboaIdentssimpleAppFrameRunSrcsdefApps init_propss bodyIndents srchWindowIdss defInfoBlocks methodIndents init_utilssdefWindowIdsConts defWindowIdsssrchWindowIdsContsdefClasssdefPyAppsidntsUtilss defSetup_pysdefSigssrchWindowIdsLCswsfixssimpleModuleRunSrcsos((sQ/mnt/gmirror/ports/devel/boaconstructor/work/boa-constructor-0.4.4/sourceconst.pys?sB