The interact loop

What is meant by “see the wxPython demo itself for one example of
this sort of thing”? There are zillions of wxPython demos, so where do I find “the” demo?

Thanks for the link to an old discussion. I couldn’t really follow the technical details, so it wasn’t clear to me whether it was or wasn’t what I was looking for.

"The" demo is found on the wxPython web site, under Downloads:
http://www.wxpython.org/download.php

You can look for the words "wxPython Demo for Windows" (or
MacOSX...for Linux there are other instructions). It has an installer
and then launches as an application.

The official demo (really a collection of a huge number of widget
demos and features) is a wonderful resource--no wxPython user should
go without it.

-Che

···

On Thu, Jun 21, 2012 at 5:58 PM, Bruce Sherwood <bruce.sherwood@gmail.com> wrote:

What is meant by "see the wxPython demo itself for one example of
this sort of thing"? There are zillions of wxPython demos, so where do I
find "the" demo?

Sorry for the confusion by see the wxPython demo I meant the wxPython
demo package itself which has browser for, as you say, hundreds of demos
and provides an environment that runs them all in a known framework -
hence each of the demos in the package just shows the code to
demonstrate the given feature(s) without having to always provide a pile
of code to do things like handling the exit from the package, switch
between samples, etc. There also isn't a need to have a main loop in
each code fragment as that is provided, along with an editor for each of
the samples to allow you to customise them.

For your use you could have a similar framework that provided the
canvas, the updating, possibly navigation buttons and your students
just needed to provide the code to construct the graphical element(s)
that were to be displayed without having to get into all the common
functionality.

Gadget/Steve

···

On 21/06/2012 10:58 PM, Bruce Sherwood wrote:

What is meant by "see the wxPython demo itself for one example of
this sort of thing"? There are zillions of wxPython demos, so where do
I find "the" demo?

Thanks for the link to an old discussion. I couldn't really follow the
technical details, so it wasn't clear to me whether it was or wasn't
what I was looking for.
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en