demos/container.tcl
raw| 1 | #!../src/bltwish |
| 2 | |
| 3 | package require BLT |
| 4 | namespace import blt::* |
| 5 | |
| 6 | set cmd "xterm -geom +4000+4000" |
| 7 | #set cmd "xclock -name fred -geom +4000+4000" |
| 8 | eval bgexec myVar $cmd & |
| 9 | container .c |
| 10 | pack .c -fill both -expand yes |
| 11 | #.c configure -relief raised -bd 2 -name fred |
| 12 | .c configure -relief raised -bd 2 -command $cmd |
| 13 | |
| 14 |