Changeset d292959 in sasview


Ignore:
Timestamp:
Oct 30, 2008 5:12:19 PM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
b92884a
Parents:
d7d143b0
Message:

working on help option

Location:
sansview
Files:
2 added
1 edited
9 moved

Legend:

Unmodified
Added
Removed
  • sansview/doc/help.html

    rd7d143b0 rd292959  
    44 
    55<frame src="model_use_help.html"> 
    6 <frame src="load_data_help.html"  
    7 name="showframe"> 
     6<frame src="load_data_help.html" name="showframe"> 
    87 
    98</frameset> 
  • sansview/perspectives/fitting/helpDialog.py

    rd7d143b0 rd292959  
    22import wx 
    33import wx.html as html 
     4import os 
    45 
    56class HelpWindow(wx.Dialog): 
     
    3132 
    3233        help = html.HtmlWindow(rpanel, -1, style=wx.NO_BORDER) 
    33         help.LoadPage('help.html') 
     34        try: 
     35           cwd = os.path.split(__file__)[0] 
     36        except: 
     37            cwd = os.getcwd() 
     38        
     39         
     40         
     41        dir = os.path.dirname(os.path.dirname(cwd)) 
     42        filename="doc\load_data_help.html" 
     43        print os.path.join(dir,filename) 
     44        fname=os.path.join(dir,filename) 
     45        help.LoadPage( fname ) 
     46         
     47          
     48        #print help.ToText() 
    3449        
    3550        vbox.Add(help, 1, wx.EXPAND) 
Note: See TracChangeset for help on using the changeset viewer.