home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 3: Developer Tools
/
Linux Cubed Series 3 - Developer Tools.iso
/
devel
/
lang
/
tcl
/
tclmotif.1
/
tclmotif
/
tm.1.2
/
doc
/
examples
/
double.tcl
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1993-10-26
|
334 b
|
9 lines
# Double the application window width and height.
# First, retrieve position and size resources :
. getValues -x x -y y -width width -height height
set width2 [expr width*2]
set height2 [expr height*2]
# Then, set back the new values :
. setValues -width $width2 -height $height2
. setValues -x [expr $x-$width] -y [expr $y-$height]