home *** CD-ROM | disk | FTP | other *** search
- # 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]
-