On Wed, 23 Oct 2002, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I think about writing a new dia module, where certain
> objects can be connected only to certain others.  (How) can
> I disallow connections between arbitrary objects?  I.e. I
> have object types A, B, and C - while connections between
> A-B and A-C are allowed, but B-C should not be possible.

That's a good question.  There's no callback on connection, so there isn't
a direct way to do that.  Can you give an example of where this would be
useful?  Wouldn't be hard to add something to ask the object if it'll
accept the connection, and have it default to always accepting.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?
_______________________________________________
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.lysator.liu.se/~alla/dia/faq.html
Main page at http://www.lysator.liu.se/~alla/dia

Reply via email to