/[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.2 - (hide annotations)
Wed Aug 25 22:51:51 2004 UTC (20 years, 2 months ago) by joko
Branch: MAIN
Changes since 1.1: +4 -1 lines
File MIME type: text/x-python
modified use of urlOpener

1 xabbu 1.1 #!/usr/bin/env python
2     #Boa:App:BoaApp
3    
4     from wxPython.wx import *
5    
6 joko 1.2 import fraggleEngine
7 xabbu 1.1 import fraggleViewport
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 joko 1.2 #global url
23     #url = urlOpener() # MUST start before the gui
24     urlOpener = fraggleEngine.urlOpener()
25 xabbu 1.1 application = BoaApp(0)
26     application.MainLoop()
27    
28     if __name__ == '__main__':
29     main()

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