Re: (fwd) binding to a derived canvas widget
Steve Lidie <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
To pique everyone's interest, I'll note at the outset that the below is a very, very, interesting problem. I have a solution, but I have no time until this weekend to give a proper answer. In short, we'll use bindtags(), maybe an overridden bind() method, to solve the problem .... > From: zentara <[email protected]> > Newsgroups: comp.lang.perl.tk > Subject: binding to a derived canvas widget > Date: Wed, 29 Mar 2006 20:37:36 GMT > > Hi, > Generally I avoid these problems, by not using objects and > modules, but I wanted to try and put this in a module form. :-) good! > > > It has to be something simple, but I've already tried a bunch of > different things, and figure that I am missing the trick on how to > handle multiple binding. I've read perldoc Tk::bind, and it said that > if multiple bindings are made to say Button-1, the callback from the > class will be called first, then the one from main. BUT the main isn't > being called in this example.....that is the problem. and the solution will follow in a few days ... -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubscribe from this mailing list, send the message body of "unsubscribe ptk" to [email protected]