Changeset ae84427 in sasview for sansview


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
  • sansview/welcome_panel.py

    r657e52c rae84427  
    3737        PanelBase.__init__(self) 
    3838        #For sasview the parent is guiframe 
    39         self.parent = parent 
     39        self.parent = parent.parent 
     40        self.frame = None 
    4041        
    4142        welcome_page = WelcomePage(self) 
     
    6364        """ 
    6465        pass 
     66     
     67    def set_frame(self, frame): 
     68        """ 
     69        """ 
     70        self.frame = frame 
     71        if frame != None: 
     72            self.frame.Bind(wx.EVT_CLOSE, self.on_close_page) 
     73     
     74    def get_frame(self): 
     75        """ 
     76        """ 
     77        return self.frame 
    6578     
    6679     
Note: See TracChangeset for help on using the changeset viewer.