• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
23import wx
24import wx.html
25from JetDefs import *
26
27app = wx.PySimpleApp()
28frame = wx.Frame(None, -1, JetDefs.MAIN_HELPTITLE, size=(800,600))
29html1 = wx.html.HtmlWindow(frame, -1)
30html1.LoadPage(JetDefs.MAIN_HELPFILE)
31frame.Center()
32frame.Show()
33app.MainLoop()
34