Hi Andrea,

On 9/23/06, andrea valle <[EMAIL PROTECTED]> wrote:
> Thnaks Will.
>
> you gave  me precious hints.
> I was pretty sure that there was a way to wrap up pyx code to satisfy
> my needs.
> I see that in any case the idea is to subclass a canvas.

That is the way I chose to do it, although there are lots of other
ways too. In fact, now that I think about it, it might have been
better to use delegation instead of inheritance. That is, instead of
subclassing a canvas (a Symbol _is_ a canvas) there would just be a
canvas component to the Symbol class (a Symbol _has_ a canvas). All
these OO subtleties are a bit beyond me, I'm afraid :)

Cheers

Will


-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to