[Pygui] signals and slots

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Dec 2 01:16:30 CET 2009


Mark Summerfield wrote:

> There is another way of maintaining state: use a state machine.
> http://doc.trolltech.com/4.6-snapshot/statemachine-api.html

Hmmm. At first sight it appears to be an extremely complicated
solution to something that isn't much of a problem in the
first place, at least not in Python.

Seems to me a Pythonic approach to this would be just to
write some code, or use dicts to model the state transitions.

-- 
Greg


More information about the Pygui mailing list