Re: Re: setHandler(), Pro v. Con
- Posted by jbrown105 at speedymail.org Aug 15, 2002
- 546 views
On 0, Derek Parnell <ddparnell at bigpond.com> wrote: > > setHandler() has been there for quite awhile. It is not a new thing. I got > to documenting better when I added extra functionality to setHandler() - > such as having a chain of handlers for the same event. > Ok, I'll add setHandler() as an alias for connect() in Llama/GTK, and I'll give it the ability to chain handlers. What other "extra functionality" does setHandler() have? > > ----- Original Message ----- > From: "Jon Snyder" <jongsnyder at hotmail.com> > To: "EUforum" <EUforum at topica.com> > Sent: Tuesday, August 13, 2002 3:04 PM > Subject: setHandler(), Pro v. Con > > > > I noticed that win32lib v 0.57 gives documentation for using > > setHandler() and not modifiying it directly with the event sequences. > > > > --using this > > setHandler(okButton, w32HClick, routine_id("myClickHandler")) > > --instead of this > > onClick[ okButton] = routine_id( "myClickHandler") > > > > Why the change? What are the advantages? What are the disadvantages? > > > > BTW, where can I obtain a version of the Win32Lib documentation that can be read via Linux (i.e. text files, html files, maybe .rtf files?) jbrown -- http://fastmail.fm/ - Access your email from home and the web