Re: help

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Wed, 6 Mar 1996 17:53:08 +0100

Hi!

monfils@montefiore.ulg.ac.be said:

monfils> My problem is that,in the editor, when you want to
monfils> expand a big network, it appears in the same editor
monfils> window, with all the remaining stuff. This doesn't
monfils> look clean at all.

monfils> I would like to be able to click on the icon of a
monfils> network and to make it appear in another window.

monfils> I tried to do so by modifying the files Tool.tcl and
monfils> Objects.tcl in every possible way and then to
monfils> recompile tkined. Unfortunately, this doesn't work as
monfils> I expect : it's easy to make a new new window appear
monfils> on a mouse click, but you can't expand your network on
monfils> it.

I'm sorry, to get this running correctly, you will need to understand
a lot of tkined internals and it can't be done in a few days. I would
suggest to split your map in many smaller maps that are linked using
reference objects. This is easy to do and should work out of the box.

monfils> PS. another little thing : in the procedure
monfils> Group::resize, for example, you find the command
monfils>
monfils> [$id items]
monfils> -----
monfils> There are many other little functions like that in the
monfils> tkined sources, and I don't know where they come
monfils> from...

These are usually `methods' for an object give by $id. These methods
are implemented in C (methods.c). The file objects.c contains a
dispatch table which defines which methods are supported by which
object type. However, I would suggest to start with the references as
these internals might change a lot in the future.

Juergen