/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/application.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/application.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 671 by bh, Tue Apr 15 18:09:47 2003 UTC revision 934 by jonathan, Tue May 20 15:24:03 2003 UTC
# Line 62  class ThubanApplication(wxApp, Publisher Line 62  class ThubanApplication(wxApp, Publisher
62          Extend this in derived classes if needed.          Extend this in derived classes if needed.
63          """          """
64          self.session.Destroy()          self.session.Destroy()
65            self.session = None
66          Publisher.Destroy(self)          Publisher.Destroy(self)
67    
     def MainLoop(self):  
         """Call the inherited MainLoop method and then call OnExit.  
   
         In wxPython OnExit isn't called automatically, unfortunately, so  
         we do it here.  
         """  
         wxApp.MainLoop(self)  
         self.OnExit()  
   
68      def read_startup_files(self):      def read_startup_files(self):
69          """Read the startup files."""          """Read the startup files."""
70          # for now the startup file is ~/.thuban/thubanstart.py          # for now the startup file is ~/.thuban/thubanstart.py
# Line 141  class ThubanApplication(wxApp, Publisher Line 133  class ThubanApplication(wxApp, Publisher
133          msg = (_("This is the wxPython-based Graphical User Interface"          msg = (_("This is the wxPython-based Graphical User Interface"
134                 " for exploring geographic data"))                 " for exploring geographic data"))
135          return mainwindow.MainWindow(NULL, -1, "Thuban", self, None,          return mainwindow.MainWindow(NULL, -1, "Thuban", self, None,
136                                       initial_message = msg)                                       initial_message = msg,
137                                         size = (600, 400))
138    
139      def Session(self):      def Session(self):
140          """Return the application's session object"""          """Return the application's session object"""

Legend:
Removed from v.671  
changed lines
  Added in v.934

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26