Re: Shape with relation to other shape



Andreas,

Not sure that's what you want to do, but the AADL objects (i wrote quite a while ago) have this property. Want to try and see ? Add an object from the AADL sheet, then right click onto it and select "Add In Data Port". Code is C.

Hopes that helps.

--
Pierre

Lars Clausen wrote:
On Sun, 2006-10-29 at 20:35 +0100, Andreas Owen wrote:
Hi

I want to make a shape that can only be added to a other shape (port). Where would the best place to define things like that be? Can I do it in Python or do I have to write a C-Extension? If someone has a sample to this function that would be great.

No sample of this yet.  Mostly because there's no system for
notification/cancellation of parenting.  So it would require C coding.

-Lars

_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]