Changeset 65265c0b in sasview


Ignore:
Timestamp:
Apr 21, 2010 2:33:02 PM (15 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:
3a848b2
Parents:
d231f9a
Message:

added slit cal help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/perspectives/calculator/help_panel.py

    r698a734 r65265c0b  
    104104        
    105105        self.rhelp.LoadPage(self.path) 
     106        page1="""<html> 
     107            <body> 
     108             <p>Select topic on Menu</p> 
     109            </body> 
     110            </html>""" 
     111        #self.rhelp.SetPage(page1) 
    106112        page="""<html> 
    107113            <body> 
    108114            <ul> 
    109115            <li><a href =%s target ="showframe">SLD Calculator</a><br></li> 
     116            <li><a href ="media/slit_calculator_help.html" target ="showframe">Slit Size Calculator</a><br></li> 
    110117            </ul> 
    111118            </body> 
    112119            </html>"""%self.path 
    113          
     120 
    114121        self.lhelp.SetPage(page) 
    115122        self.lhelp.Bind(wx.html.EVT_HTML_LINK_CLICKED,self.OnLinkClicked ) 
     
    135142            Function to diplay html page related to the hyperlinktext selected 
    136143        """ 
    137         self.rhelp.LoadPage(self.path) 
    138  
     144        #self.rhelp.LoadPage(self.path) 
     145        link= event.GetLinkInfo().GetHref() 
     146        self.rhelp.LoadPage(link) 
    139147class ViewApp(wx.App): 
    140148    def OnInit(self): 
Note: See TracChangeset for help on using the changeset viewer.