Changeset 65265c0b in sasview for calculatorview/perspectives
- Timestamp:
- Apr 21, 2010 2:33:02 PM (14 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/perspectives/calculator/help_panel.py
r698a734 r65265c0b 104 104 105 105 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) 106 112 page="""<html> 107 113 <body> 108 114 <ul> 109 115 <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> 110 117 </ul> 111 118 </body> 112 119 </html>"""%self.path 113 120 114 121 self.lhelp.SetPage(page) 115 122 self.lhelp.Bind(wx.html.EVT_HTML_LINK_CLICKED,self.OnLinkClicked ) … … 135 142 Function to diplay html page related to the hyperlinktext selected 136 143 """ 137 self.rhelp.LoadPage(self.path) 138 144 #self.rhelp.LoadPage(self.path) 145 link= event.GetLinkInfo().GetHref() 146 self.rhelp.LoadPage(link) 139 147 class ViewApp(wx.App): 140 148 def OnInit(self):
Note: See TracChangeset
for help on using the changeset viewer.