ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since 4241e48 was
41d466f,
checked in by Mathieu Doucet <doucetm@…>, 17 years ago
|
Initial import.
|
-
Property mode set to
100644
|
File size:
510 bytes
|
Rev | Line | |
---|
[41d466f] | 1 | """ |
---|
| 2 | Dummy application. |
---|
| 3 | Allows the user to set an external data manager |
---|
| 4 | """ |
---|
| 5 | import gui_manager |
---|
| 6 | |
---|
| 7 | class SansView(): |
---|
| 8 | |
---|
| 9 | def __init__(self): |
---|
| 10 | """ |
---|
| 11 | Initialization |
---|
| 12 | """ |
---|
| 13 | from gui_manager import ViewApp |
---|
| 14 | self.gui = ViewApp(0) |
---|
| 15 | |
---|
| 16 | # Set the application manager for the GUI |
---|
| 17 | self.gui.set_manager(self) |
---|
| 18 | |
---|
| 19 | # Start the main loop |
---|
| 20 | self.gui.MainLoop() |
---|
| 21 | |
---|
| 22 | if __name__ == "__main__": |
---|
| 23 | sansview = SansView() |
---|
Note: See
TracBrowser
for help on using the repository browser.