Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[tools/eficas.git] / AIDE / __init__.py
1 import os
2 import aide_objets
3 import aide_gui
4 import viewer
5
6 def go(fichier=None,master=None):
7     if not fichier :
8        fichier=os.path.join(os.path.dirname(__file__),"fichiers","index.html")
9     o=viewer.HTMLViewer(master)
10     o.display(fichier)
11     return o
12
13 def go2(fichier=None,master=None):
14     if not fichier :
15        fichier=os.path.join(os.path.dirname(__file__),"index_aide.py")
16     index = aide_objets.INDEX(fichier)
17     index.build()
18     o = aide_gui.AIDE_GUI(index,master=master)
19     o.build()
20     return o