On Wed, 23 Oct 2002, email@example.com wrote:
> 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 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?