Results 1 to 1 of 1
I have a program which I use frequently that starts out:
canvas .c -width 265m -height 130m -background cyan \
-xscrollcommand ".scroll set"
pack .c
I would like to add ...
- 11-04-2008 #1Linux User
- Join Date
- Mar 2008
- Posts
- 287
Tcl/Tk program problem
I have a program which I use frequently that starts out:
canvas .c -width 265m -height 130m -background cyan \
-xscrollcommand ".scroll set"
pack .c
I would like to add a pop-up menu to make on the fly changes to the graphic display created by the above mentioned program. The pop-up must contain the "command" command which calls a procedure to capture the change to a variable made by a slider and a slider. I have tried to create this interface without much luck in keeping the slider up until I use it to pick the value I want. I have coded the widgets for all of the code I need in the pop-up.
If someone could show me how to approach this by a skeleton script I would appreciate it. PS this is on a Linux machine.


Reply With Quote