/[cvs]/nfo/projects/netfraggle/bin/fraggleMain.py
ViewVC logotype

Annotation of /nfo/projects/netfraggle/bin/fraggleMain.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Wed Aug 25 13:53:48 2004 UTC (19 years, 10 months ago) by xabbu
Branch: netfrag
CVS Tags: start
Changes since 1.1: +0 -0 lines
File MIME type: text/x-python
initial commit

1 xabbu 1.1 #!/usr/bin/env python
2     #Boa:App:BoaApp
3    
4     from wxPython.wx import *
5    
6     import fraggleViewport
7    
8    
9     modules ={'fraggleDialogPrefs': [0, '', 'fraggleDialogPrefs.py'],
10     'fraggleViewport': [1, '', 'fraggleViewport.py']}
11    
12     class BoaApp(wxApp):
13     def OnInit(self):
14     wxInitAllImageHandlers()
15     self.main = fraggleViewport.create(None)
16     # needed when running from Boa under Windows 9X
17     self.SetTopWindow(self.main)
18     self.main.Show();self.main.Hide();self.main.Show()
19     return True
20    
21     def main():
22     application = BoaApp(0)
23     application.MainLoop()
24    
25     if __name__ == '__main__':
26     main()

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed