Christopher Barker wrote:
> keep us informed.
>   
Will do. I'll post it up once i get the ungrouping to work.
> maybe -- as I said there may be a need for some re-factoring -- maybe a 
> way to have multiple bindings, so you can add one "on top" that will 
> take over, then when that one is removed, the old binding remains.
>   
I dont understand this because I did it and it didnt work.
I did an .UnBindAll() on the group and then looped trough all the 
existing non-group objects and set their bindings via the .bind() 
methods. This not only took away the group and its bindings, it didnt 
bind the non-group objects. I can post my code if necessary.
> Well, I don't know your application, but it's very common for mouse 
> actions to have different effects at different times. Any sort of 
> drawing program has modes to zoom in and out, select objeccts, edit 
> objects, create particular objects, etc.
>   
I know what you mean, i just wanted to add more functionality on the 
"select" mode :)
> In general, you'll want to know if the line itself has been hit. There 
> are various way to do that, and as I think about it, it's probably 
> pretty easy to leverage the existing infrastructure so that you can 
> "bind" and object to a None event, then it will be "hitable", and then 
> we can make a method:
>
> FloatCanvas.GetHitObject((x, y))
>
> And it will return the object hit (of those that have been bound to 
> something -- hmmmm.
>   
This sounds like an adventure! Im guessing it would require some sort of 
inherited BBox class that would do a partial .Inside()?
Cheers
Astan
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to