Question: Event driven programming

John J. Lee jjl at pobox.com
Sun Oct 28 13:11:48 EST 2001


> > "Károly Ladvánszky" <aa at bb.cc> wrote in
> > news:3bdb0140_5 at corp-goliath.newsgroups.com:
> >
> > > What I have in my mind is not necessarily UI related. In VB, objects
> > > can raise events, objects interested in the events will handle them.
> > > Thats a very simple mechanism, facilitates easy coding in many
> > > situations, even if its just a console application with no GUI at all.
> > > They are similar to exceptions but they return to the caller and they
> > > can have parameters/return values of any kind.
[...]

In addition to all the other 'same things' that people have mentioned,
this sounds to me like Qt's (and PyQt's, of course) signal/slot mechanism.

(Qt is a nice GUI framework, see http://www.trolltech.com/)


John




More information about the Python-list mailing list