Changeset 9d091ed in sasview


Ignore:
Timestamp:
Apr 6, 2009 10:50:47 PM (16 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:
b94a0a6
Parents:
40f9745
Message:

More details button enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/modelpage.py

    rcfc0913 r9d091ed  
    290290                   id=self.description_show.GetId() ) 
    291291         
    292         self.model_description = wx.Button(self, -1, "More Details") 
    293         self.model_description.SetToolTipString("See more description in help menu.") 
     292        self.model_description = wx.Button(self,-1, label="More Details") 
     293        self.model_description.Bind(wx.EVT_BUTTON,self.on_button_clicked) 
     294        self.model_description.SetToolTipString("Click Model Functions in HelpWindow...") 
    294295         
    295296        #self.page_info.save_radiobox_state( self.description_hide ) 
     
    314315        sizer.Layout() 
    315316    
    316     
    317     
     317    def on_button_clicked(self,event): 
     318        #message_text = "You typed" 
     319        """ 
     320        msg_box = wx.MessageDialog(self 
     321                                   , message_text 
     322                                   , "Hello!" 
     323                                   , wx.OK | wx.CENTRE | wx.ICON_EXCLAMATION) 
     324        #Show the Dialog 
     325        msg_box.ShowModal()  
     326        """   
     327        from helpPanel import  HelpWindow 
     328        frame = HelpWindow(None, -1, 'HelpWindow')     
     329        frame.Show(True) 
     330 
    318331    def set_range(self, qmin_x, qmax_x, npts): 
    319332        """ 
Note: See TracChangeset for help on using the changeset viewer.