Home | Trees | Indices | Help |
|
---|
|
1 # -*- coding: iso-8859-15 -*- 2 # generated by wxGlade HG on Sun May 31 17:14:53 2009 3 4 # 5 # ArcGui main application class 6 # 7 # Copyright (C) 2008-2010 Jonas Lindemann 8 # 9 # This program is free software; you can redistribute it and/or modify 10 # it under the terms of the GNU General Public License as published by 11 # the Free Software Foundation; either version 2 of the License, or 12 # (at your option) any later version. 13 # 14 # This program is distributed in the hope that it will be useful, 15 # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 # GNU General Public License for more details. 18 # 19 # You should have received a copy of the GNU General Public License 20 # along with this program; if not, write to the Free Software 21 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 22 # 23 24 import os, sys 25 26 # Import and check for ARC1 Python binding 27 28 try: 29 import arc 30 except: 31 print "ARC1 Python binding not found. Please check search paths." 32 sys.exit(-1) 33 34 # Import and check for wxPython binding 35 36 try: 37 import wx 38 except: 39 print "wxPython is not found. Please check search paths." 40 sys.exit(-1) 41 42 # Import and check for arcgui classes 43 44 from arcjobtool.ArcJobToolWindow import ArcJobToolWindow 45 46 # Define arcgui application class ArcClientApp 4755 56 # end of class ArcClientApp 57 58 # Initiate and start arcgui application 59 60 #if __name__ == "__main__": 61 62 if os.environ.has_key("ARCJOBTOOL_LIB"): 63 arcJobToolApp = ArcJobToolApp(0) 64 arcJobToolApp.MainLoop() 6550 wx.InitAllImageHandlers() 51 mainWindow = ArcJobToolWindow(None, -1, "") 52 self.SetTopWindow(mainWindow) 53 mainWindow.Show() 54 return 1
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Jun 14 23:32:38 2010 | http://epydoc.sourceforge.net |