@page overview_python wxPython Overview
+@tableofcontents
+
This topic was written by Robin Dunn, author of the
<a href="http://www.python.org/">wxPython</a> wrapper.
-@li @ref overview_python_what
-@li @ref overview_python_why
-@li @ref overview_python_othergui
-@li @ref overview_python_using
-@li @ref overview_python_classes
-@li @ref overview_python_help
-
-
-<hr>
-
-
@section overview_python_what What is wxPython?
wxPython is a blending of the wxWidgets GUI classes and the Python programming
62: frame = MyFrame(NULL, -1, "This is a test")
63: frame.Show(true)
64:
-65: # Tell wxWidgets that this is our main window
-66: self.SetTopWindow(frame)
67:
68: # Return a success flag
69: return true
Just like wxWidgets in C++, wxPython apps need to create a class derived from
@c wxApp (line 56) that implements a method named @c OnInit, (line 59.) This
-method should create the application's main window (line 62) and use
-wxApp.SetTopWindow() (line 66) to inform wxWidgets about it.
+method should create the application's main window (line 62) and show it.
And finally, at line 72 an instance of the application class is created. At
this point wxPython finishes initializing itself, and calls the @c OnInit
wxpython-users@lists.wxwidgets.org
*/
-