From: Joel VanderWerf Date: 2009-09-14T03:41:34+09:00 Subject: Re: How to bind canvas events to tags? Josef Wolf wrote: > Ough. Every time I think I get closer (remember? I am trying to implement > a zoomable canvas), I find there is a lot more work to do :-() Do you need to exactly replicate the TkCanvas interface in the zoomable canvas? Why not get creative and develop a class with a new (possibly better) interface? (And maybe use delegation rather than inheritance.) The TkCanvas interface is close to Tcl/Tk's canvas, which is great for documentation and porting, but it's not necessarily very ruby-like. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407