Re: Scaling Stripcharts

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Wed, 12 Feb 1997 07:24:19 +0100

Dave Hayes <dave@kachina.jetcafe.org> said:

Dave> Am I correct in assuming that this is a bug in my understanding
Dave> of what gets passed to an interpreter's menu item? Can you explain
Dave> this, or is it in the documentation?

The procedures registered with the 'ined menu' command are called
from tkined with the list of selected objects. This list uses the
representation as described in the ined(n) man page. Only the <id>
element of this representation (which is like a handle for that
object) is used by most of the 'ined' command.

I know, this is confusing and I would do it in a different way if I
would start again. The reason for inventing the list representation
was that it reduces the number of interactions between tkined and the
process executing the script. The mistake was that I did not hide this
optimization from the API. (It is relatively simple to cache the list
representation in the implementation of the ined command.)

Juergen

-- 
Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw
Computer Science Department, University of Twente,   (Fax: +31-53-489-3247)
P.O. Box 217, NL-7500 AE Enschede, The Netherlands.  (Tel. +31-53-489-3678)
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.