Changeset 4a5de6f in sasview for prview/sansview.py
- Timestamp:
- May 27, 2008 2:34:30 PM (16 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- fd68aa9
- Parents:
- 278cc25
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prview/sansview.py
rf3d51f6 r4a5de6f 2 2 #import gui_manager 3 3 from sans.guiframe import gui_manager 4 5 # For py2exe, import config here 6 import local_config 7 4 8 class SansView(): 5 9 … … 11 15 self.gui = gui_manager.ViewApp(0) 12 16 17 # Add perspectives to the basic application 18 # Additional perspectives can still be loaded 19 # dynamically 20 import perspectives.pr as module 21 plug = module.Plugin() 22 self.gui.add_perspective(plug) 23 24 # Build the GUI 25 self.gui.build_gui() 26 13 27 # Set the application manager for the GUI 14 28 self.gui.set_manager(self)
Note: See TracChangeset
for help on using the changeset viewer.