]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/demo/About.py
cde5f33c4b296ec524e608324254cdd8a8f27ace
2 from wxPython
.wx
import *
3 from wxPython
.html
import *
4 import wxPython
.lib
.wxpTag
6 #---------------------------------------------------------------------------
8 class MyAboutBox(wxDialog
):
11 <body bgcolor="#AC76DE">
12 <center><table bgcolor="#458154" width="100%%" cellspacing="0" cellpadding="0" border="1">
14 <td align="center"><h1>wxPython %s</h1></td>
18 <p><b>wxPython</b> is a Python extension module that
19 encapsulates the wxWindows GUI classes.</p>
21 <p>This demo shows off some of the capabilities
22 of <b>wxPython</b>. Select items from the menu or tree control,
23 sit back and enjoy. Be sure to take a peek at the source code for each
24 demo item so you can learn how to use the classes yourself.</p>
26 <p><b>wxPython</b> is brought to you by <b>Robin Dunn</b> and<br>
27 <b>Total Control Software</b>, Copyright (c) 1998-1999.</p>
29 <p><font size="-1">Please see <i>license.txt</i> for licensing information.</font></p>
31 <p><wxp class="wxButton">
32 <param name="label" value="Okay">
33 <param name="id" value="wxID_OK">
39 def __init__(self
, parent
):
40 wxDialog
.__init
__(self
, parent
, -1, 'About wxPython')
41 self
.html
= wxHtmlWindow(self
, -1, wxPoint(5,5), wxSize(400, 350))
42 self
.html
.SetPage(self
.text
% wx
.__version
__)
46 #---------------------------------------------------------------------------