X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2819545569bbbfcade45a1bfe91d7c53b7c82f5d..e166644c534521f311e4f010b0829c7c9951e7a3:/utils/wxPython/demo/About.py diff --git a/utils/wxPython/demo/About.py b/utils/wxPython/demo/About.py new file mode 100644 index 0000000000..cde5f33c4b --- /dev/null +++ b/utils/wxPython/demo/About.py @@ -0,0 +1,46 @@ + +from wxPython.wx import * +from wxPython.html import * +import wxPython.lib.wxpTag + +#--------------------------------------------------------------------------- + +class MyAboutBox(wxDialog): + text = ''' + + +
+ + + +

wxPython %s

+ +

wxPython is a Python extension module that +encapsulates the wxWindows GUI classes.

+ +

This demo shows off some of the capabilities +of wxPython. Select items from the menu or tree control, +sit back and enjoy. Be sure to take a peek at the source code for each +demo item so you can learn how to use the classes yourself.

+ +

wxPython is brought to you by Robin Dunn and
+Total Control Software, Copyright (c) 1998-1999.

+ +

Please see license.txt for licensing information.

+ +

+ + +

+
+ + +''' + def __init__(self, parent): + wxDialog.__init__(self, parent, -1, 'About wxPython') + self.html = wxHtmlWindow(self, -1, wxPoint(5,5), wxSize(400, 350)) + self.html.SetPage(self.text % wx.__version__) + self.Fit() + + +#---------------------------------------------------------------------------