File: MinSect.tcl

package info (click to toggle)
snack 2.2.10.20090623-dfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,764 kB
  • sloc: ansic: 32,662; sh: 8,558; tcl: 1,086; python: 761; makefile: 582
file content (13 lines) | stat: -rwxr-xr-x 302 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# the next line restarts using wish \
exec wish8.5 "$0" "$@"

package require -exact snack 2.2

pack [canvas .c -width 300 -height 300]

snack::sound s -load ex1.wav

.c create section 0 0 -sound s -start 6000 -end 6100 -height 300 -width 300

pack [button .bClose -text Close -command exit]