Last change
on this file since 1378 was
1332,
checked in by KelvinHsu, 11 years ago
|
DuchampParameterGUI.py split into four files (it could be made more modular but so far it is simply just code split into four files, without really using the advantage of multi-file programs...)
|
File size:
635 bytes
|
Rev | Line | |
---|
[1332] | 1 | #!/usr/bin/env python |
---|
| 2 | |
---|
| 3 | #------------------------------------------------------------------------------- |
---|
| 4 | # Name: DuchampParameterGUImain |
---|
| 5 | # Purpose: |
---|
| 6 | # |
---|
| 7 | # Author: Kelvin |
---|
| 8 | # |
---|
| 9 | # Created: 4/12/2013 |
---|
| 10 | #------------------------------------------------------------------------------- |
---|
| 11 | |
---|
| 12 | from DuchampParameterGUI_mainInterfaceClass import * |
---|
| 13 | |
---|
| 14 | def main(): |
---|
| 15 | |
---|
| 16 | root = Tk() |
---|
| 17 | root.wm_title("Duchamp Parameters") |
---|
| 18 | |
---|
| 19 | interface = mainInterface(root) |
---|
| 20 | root.config(menu = interface.menubar) |
---|
| 21 | root.mainloop() |
---|
| 22 | |
---|
| 23 | try: |
---|
| 24 | root.destroy() |
---|
| 25 | except TclError: |
---|
| 26 | pass |
---|
| 27 | |
---|
| 28 | if __name__ == '__main__': |
---|
| 29 | main() |
---|
Note: See
TracBrowser
for help on using the repository browser.