1 """ 2 File: 3 JetHelp.py 4 5 Contents and purpose: 6 Displays the help text 7 8 Copyright (c) 2008 Android Open Source Project 9 10 Licensed under the Apache License, Version 2.0 (the "License"); 11 you may not use this file except in compliance with the License. 12 You may obtain a copy of the License at 13 14 http://www.apache.org/licenses/LICENSE-2.0 15 16 Unless required by applicable law or agreed to in writing, software 17 distributed under the License is distributed on an "AS IS" BASIS, 18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 See the License for the specific language governing permissions and 20 limitations under the License. 21 """ 22 23 import wx 24 import wx.html 25 from JetDefs import * 26 27 app = wx.PySimpleApp() 28 frame = wx.Frame(None, -1, JetDefs.MAIN_HELPTITLE, size=(800,600)) 29 html1 = wx.html.HtmlWindow(frame, -1) 30 html1.LoadPage(JetDefs.MAIN_HELPFILE) 31 frame.Center() 32 frame.Show() 33 app.MainLoop() 34