[Python-3000] GUI events

Greg Ewing greg.ewing at canterbury.ac.nz
Thu May 11 03:35:17 CEST 2006


Giovanni Bajo wrote:

> And how do you enable two controls when a checkbox is pressed?

In Gtk you'd have to write either one handler to enable
both controls, or two handlers to enable one control
each, and connect them to the signal. There's actually
*more* code to write in the multiple-handler case, as
far as I can see.

> Is there a production-ready GUI toolkit that *doesn't*
 > have multiple handlers?

I know of a number of toolkits that don't have a
concept of signals/handlers, but I fear you would
dismiss them as "not production-ready". :-)

--
Greg


More information about the Python-3000 mailing list