
PinK procedure: ConfigureGraph
This procedure was taken from the BLT distribution and customized for
PinK. It uses the tcl/tk send command to communicate with
your script. All configuration otions of the blt_graph widget
can be manioulated interactively in real time. To be able to use it
you have to use xauth-style authorization for your
X-terminal. Another PinK shell is executed communicating to the
interpreter of your application.
ConfigureGraph interpreter graph
- interpreter is the name of the interpreter to which the
send command has to submit its commands. You can get this
name using the tk-command winfo name . where the
. stands for your toplevel widget (e.g.
ConfigureGraph [winfo name .] yourgraph ).
- return value is the file name or an empty string in case
the user cancelled.
Have a look at the source code!
Previous
Up
Next
This page is maintained by
pink@hermes.desy.de;
last modification: Jul 8 1995 .