Changeset 4faf4ba in sasview for sansview/perspectives/fitting/helpPanel.py
- Timestamp:
- Aug 19, 2009 12:13:50 AM (15 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:
- 191b369
- Parents:
- 27953d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/helpPanel.py
r6fb01b6 r4faf4ba 59 59 60 60 class HelpWindow(wx.Frame): 61 def __init__(self, parent, id, title ):61 def __init__(self, parent, id, title= 'HelpWindow', pageToOpen=None): 62 62 wx.Frame.__init__(self, parent, id, title, size=(700, 450)) 63 63 """ … … 118 118 <li><a href ="doc/model_use_help.html" target ="showframe">Visualize Model</a><br></li> 119 119 <li><a href ="doc/averaging_help.html" target ="showframe">Data Averaging</a><br></li> 120 <li><a href ="doc/sld_calculator_help.html" target ="showframe">SLD Calculator</a><br></li> 120 121 <li><a href ="doc/model_functions.html" target ="showframe">Model Functions</a><br></li> 121 122 </ul> … … 126 127 self.lhelp.Bind(wx.html.EVT_HTML_LINK_CLICKED,self.OnLinkClicked ) 127 128 128 # 'HelpWindow' from menu bar, title=model name from 'More Details' button in model penal129 if title != 'HelpWindow':130 self.rhelp.LoadPage( "doc/model_functions.html")129 #open the help frame a the current page 130 if pageToOpen!= None: 131 self.rhelp.LoadPage(str( pageToOpen)) 131 132 132 133 vbox.Add(self.rhelp,1, wx.EXPAND)
Note: See TracChangeset
for help on using the changeset viewer.