Comment detail

ウィンドウの表示 (Nested Flatten)
wish でなく tclsh から実行するときは package require Tk を冒頭につけます。
1
2
3
4
5
6
set w 400
set h 300
set x [expr ([winfo screenwidth .] - $w) / 2]
set y [expr ([winfo screenheight .] - $h) / 2]
wm geometry . ${w}x$h+$x+$y
wm title . こんにちは、GUI!

Index

Feed

Other

Link

Pathtraq

loading...