Re: Re: setHandler(), Pro v. Con

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu