Restricting possible connections

2002-10-23 Thread ml
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. Many t

Re: Dia and GObject

2002-10-23 Thread ml
On Thu, Oct 03, 2002 at 08:39:26AM -0500, Lars Clausen wrote: > Mainly because Dia started out before there was a GObject, and GTKObject > just wasn't right. We will move to GObject. Is the transition from GtkObject to GObject finished now? I.e. is it (relatively) save to cvs co, again? TIA! ___

Re: Restricting possible connections

2002-10-23 Thread Lars Clausen
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

Re: Dia and GObject

2002-10-23 Thread Lars Clausen
On Wed, 23 Oct 2002, [EMAIL PROTECTED] wrote: > On Thu, Oct 03, 2002 at 08:39:26AM -0500, Lars Clausen wrote: >> Mainly because Dia started out before there was a GObject, and GTKObject >> just wasn't right. We will move to GObject. > > Is the transition from GtkObject to GObject finished now? >

Re: Restricting possible connections

2002-10-23 Thread Mike Garnsey
I have been experimenting with doing something like that, too. Why? I want to be able to have a set of "idiot-proof" objects for a Dia user to lay out a computer network diagram. For example, the user shouldnt be able to connect something like a PC object directly to something like a microwave t