Changeset cb26857 in sasview


Ignore:
Timestamp:
Jul 20, 2011 12:08:21 PM (13 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
075526b
Parents:
60c7011
Message:

bind the frame close event with hide frame

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/data_processor.py

    r24adb89 rcb26857  
    381381        self.SetMenuBar(menubar) 
    382382        wx.EVT_MENU(self, id_col, self.on_add_column) 
    383  
     383        self.Bind(wx.EVT_CLOSE, self.on_close) 
     384 
     385         
     386    def on_close(self, event): 
     387        """ 
     388        """ 
     389        self.Hide() 
    384390         
    385391    def on_add_column(self, event): 
     392        """ 
     393        """ 
    386394        self.panel.add_column() 
    387     def set_data(self, data): 
     395         
     396    def set_data(self, data): 
     397        """ 
     398        """ 
    388399        self.panel.set_data(data) 
    389400       
Note: See TracChangeset for help on using the changeset viewer.