Ignore:
Timestamp:
Apr 20, 2013 7:14:41 PM (12 years ago)
Author:
Jae Cho <jhjcho@…>
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:
ba152f1
Parents:
d4895dd
Message:

mdi frames for main applications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inversionview/src/sans/perspectives/pr/pr.py

    r0320d36 rae84427  
    2222import numpy 
    2323import pylab 
     24from sans.guiframe.gui_manager import MDIFrame 
    2425from sans.guiframe.dataFitting import Data1D 
    2526from sans.guiframe.events import NewPlotEvent 
     
    12541255         
    12551256        self.parent = parent 
    1256         self.control_panel = InversionControl(self.parent, -1,  
     1257        self.frame = MDIFrame(self.parent, None, 'None', (100, 200))      
     1258        self.control_panel = InversionControl(self.frame, -1,  
    12571259                                              style=wx.RAISED_BORDER, 
    12581260                                              standalone=self.standalone) 
     1261        self.frame.set_panel(self.control_panel) 
     1262        self._frame_set_helper() 
    12591263        self.control_panel.set_manager(self) 
    12601264        self.control_panel.nfunc = self.nfunc 
     
    12651269      
    12661270        return [self.control_panel] 
    1267      
     1271         
    12681272    def set_data(self, data_list=None): 
    12691273        """ 
Note: See TracChangeset for help on using the changeset viewer.