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

Contents of /branches/WIP-pyshapelib-bramz/Thuban/UI/main.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 230 - (show annotations)
Fri Jul 19 13:21:14 2002 UTC (22 years, 7 months ago) by bh
Original Path: trunk/thuban/Thuban/UI/main.py
File MIME type: text/x-python
File size: 623 byte(s)
* Thuban/UI/main.py, Thuban/UI/__init__.py: Move the work-around
for the wxPython locale bug to __init__.py so that it's
automatically executed by anybody using UI code from Thuban.

1 #! /usr/bin/python
2 # Copyright (C) 2001, 2002 by Intevation GmbH
3 # Authors:
4 # Jan-Oliver Wagner <[email protected]>
5 # Bernhard Herzog <[email protected]>
6 #
7 # This program is free software under the GPL (>=v2)
8 # Read the file COPYING coming with Thuban for details.
9
10 """
11 The main entry point for the Thuban GUI.
12 """
13
14 __version__ = "$Revision$"
15
16 import sys
17
18 from application import ThubanApplication
19
20 def main():
21 """Instantiate the application object and run the application"""
22 app = ThubanApplication(0)
23 if len(sys.argv) > 1:
24 app.OpenSession(sys.argv[1])
25 app.top.ShowSessionTree()
26 app.MainLoop()

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26