Changeset 57acd41 in sasview
- Timestamp:
- Jun 20, 2009 6:50:33 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:
- c9454bb
- Parents:
- b81cf5c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/sansview.py
re5c6fff r57acd41 7 7 import logging 8 8 9 # Application dimensions 10 APP_HEIGHT = 800 11 APP_WIDTH = 1000 12 13 class SansViewApp(gui_manager.ViewApp): 14 def OnInit(self): 15 #from gui_manager import ViewerFrame 16 self.frame = gui_manager.ViewerFrame(None, -1, local_config.__appname__, 17 window_height=APP_HEIGHT, window_width=APP_WIDTH) 18 self.frame.Show(True) 19 20 if hasattr(self.frame, 'special'): 21 self.frame.special.SetCurrent() 22 self.SetTopWindow(self.frame) 23 return True 9 24 10 25 class SansView(): … … 15 30 """ 16 31 #from gui_manager import ViewApp 17 self.gui = gui_manager.ViewApp(0)32 self.gui = SansViewApp(0) 18 33 19 34 # Add perspectives to the basic application
Note: See TracChangeset
for help on using the changeset viewer.