From: Gregory Millam Date: 2004-04-08T16:13:14+09:00 Subject: Re: Idea: Simplified GTK Received: Thu, 8 Apr 2004 15:18:53 +0900 And lo, Hal wrote: > Maybe we could allow both. I'm a believer (though some are not) in a > little "magic" parameter handling. > > In other words, we could code it so as to permit calling it either way. This is, of course, doable, but I don't think this kind of "overloading" would be easily readable or understandable when learning ezgtk. I'm more in favor of shortcuts like: button { label "foo" onclick {...} } button_onclick "foo" { ... } Maybe an easier name like: ezbutton "foo" { ... } for most common action type things? - Greg Millam