Re: Scotty, TCP extensions

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Tue, 19 Nov 1996 14:05:55 +0100

Francois.Junique@jet.uk said:

Francois> 2 questions:

Francois> 1: how to configure stripchart in order to have the
Francois> values and the the scale lines of different colours
Francois> (lets say blue and pink for example)

The stripchart widget had the following color options:

-fill color used to fill the area below the stripline
-outline color of the bounding box
-scaleline color of the scale line(s)
-stripline color of the stripline

You have to hack the Tcl code to set these colors since Tkined does
not make use of these options.

Francois> 2: how to define a new apps ? we have been able to
Francois> clone snmp_monitor.tcl but it seems that tkined does
Francois> not accept a new tool_name, where have they to be
Francois> defined?

Tkined does not have any knowledge about the tools. Where do you want
Tkined to accept your new tool? Are you refering to the Tools menu?
If yes, look at the manager.tcl script. (The tools menu is itself an
application for Tkined.)
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)