Changeset 389c991 in sasview for sansview/perspectives/fitting/help_panel.py
- Timestamp:
- Mar 24, 2011 5:49:35 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:
- 68b7d43
- Parents:
- 0ad5703
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/help_panel.py
r384647dc r389c991 11 11 """ 12 12 def __init__(self, parent, id, title= 'HelpWindow', pageToOpen=None): 13 wx.Frame.__init__(self, parent, id, title, size=(850, 5 00))13 wx.Frame.__init__(self, parent, id, title, size=(850, 530)) 14 14 """ 15 15 contains help info … … 53 53 path = models.get_data_path(media='media') 54 54 self.path = os.path.join(path,"model_functions.html") 55 self.path_pd = os.path.join(path,"pd_help.html") 55 56 self.path_sm = os.path.join(path,"smear_computation.html") 56 57 … … 72 73 <li><a href ="media/averaging_help.html" target ="showframe">Data Averaging</a><br></li> 73 74 <li><a href ="%s" target ="showframe">Model Functions</a><br></li> 75 <li><a href ="%s" target ="showframe">Polydispersion Distributions</a><br></li> 74 76 <li><a href ="%s" target ="showframe">Smear Computation</a><br></li> 77 <li><a href ="media/key_help.html" target ="showframe">Key Combination</a><br></li> 75 78 </ul> 76 79 </body> 77 </html>""" % (self.path, self.path_ sm)80 </html>""" % (self.path, self.path_pd, self.path_sm) 78 81 79 82 self.rhelp.SetPage(page1) … … 102 105 def OnButtonClicked(self, event): 103 106 """ 104 Function to diplay html page related to the hyperlinktext selected107 Function to diplay Model html page related to the hyperlinktext selected 105 108 """ 106 109 … … 112 115 """ 113 116 link= event.GetLinkInfo().GetHref() 117 114 118 self.rhelp.LoadPage(link) 119 115 120 """ 116 121 Example: ::
Note: See TracChangeset
for help on using the changeset viewer.