On Wednesday, May 10, 2006, at 12:24PM, Giovanni Bajo <[EMAIL PROTECTED]> wrote:
> >> and then I find that >> multiple-handler systems (e.g. gtk signals) tend >> to hinder more than they help. > >Is there a production-ready GUI toolkit that *doesn't* have multiple handlers? AFAIK Cocoa doesn't have multiple handlers. It does have cocoa bindings though, which allows you to do a lot of the things you mentioned without actually writing code. You can basically bind the value of a widget to a value of your model and updates on one side propagate to the other side. This is a very convenient way to build applications, but would require some changes to CPython to work as seemlessly at it does in ObjC. PyObjC does support bindings, but cannot give full support for this with native python datastructures because there is no way to intercept all updates of list() and dict() instances. Ronald P.S. http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/CocoaBindings.html _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com