Hi all,

I've renamed this thread...

Dj Gilcrease wrote:
> My project needs GC for the alpha support,

You can add a custom Object with a _draw method that used GC now -- but 
I would like to better integrate it.

> mouseover/click
there
> /drag/drop/
can be done, but not so elegant...
> show/hide
you can show/hide objects, but I'm not sure what you mean by events -- 
do you want en event raised when a object is shown/hidden?

It's all there except the alpha support (though you can

> My ultimate goal is to have the objects separated from the drawing
> layer totally since I want to be able to use pyqt, wxPython, or any
> other toolkit for drawing the UI, without having to change my objects.

hmm -- that's tough. To do that, you need a drawing abstraction layer. 
At the moment, FloatCanvas is pretty tied to wx. However, I did try (and 
want to make this cleaner) to keep the Objects separated from the canvas 
-- i.e. they can exist without a canvas, the same object can be on 
multiple canvases, etc. So you could have objects that require a 
different Draw Method for each back-end. If you don't want that, it gets 
trickier, maybe it's worth looking at Enthought's Kiva, but I don't know 
that we'll get the performance we need with that.

If you want to handle all the events, too , then you need some kind of 
event abstraction layer too.

> http://www.assembla.com/flows/show/bleP5W5Ber3lzlabIlDkbG  is a good
> list of my ultimate goals and needs (Which I am sure much of which is
> outside the scope of FC)

I'm not sure I really follow all that, but from what I can tell, it 
looks quite doable.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to