上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 82 下一页
摘要: open - Open a file-based or command pipeline channel This command opens a file, serial port, or command pipeline and returns a channel identifier that may be used in future invocations of commands like read, puts, and close. If the first character of fileName is not | then the command opens a fileIf 阅读全文
posted @ 2011-08-30 23:13 greencolor 阅读(108) 评论(0) 推荐(0) 编辑
摘要: socket - Open a TCP network connection socket ?options? host port socket -server command ?options? port 阅读全文
posted @ 2011-08-30 10:31 greencolor 阅读(368) 评论(0) 推荐(0) 编辑
摘要: array names arrayName ?mode? ?pattern? Returns a list containing the names of all of the elements in the array that match pattern 阅读全文
posted @ 2011-08-29 21:45 greencolor 阅读(103) 评论(0) 推荐(0) 编辑
摘要: pack [canvas .c -bg yellow] -fill both -expand yes bind .c <Button-1> {puts 1}bind .c <Button-2> {puts 2}bind .c <Button-3> {puts 3}bind .c <Button-4> {puts 4} bind .c <Button-5> {puts 5}Button-1 left mouse clickButton-2 Middle mouse clickButton-3 Right mouse clickButto 阅读全文
posted @ 2011-08-27 15:11 greencolor 阅读(182) 评论(0) 推荐(0) 编辑
摘要: grid grid-------------------------------------| ----------- | -------------- || | pack | | | pack | || ----------- | -------------- || | pack | | | pack | || ----------- | -------------- ||------------------------------------grid option -column, -columnspan, -in, -ipadx, -ipady, -padx, -pady, -row.. 阅读全文
posted @ 2011-08-27 14:14 greencolor 阅读(176) 评论(0) 推荐(0) 编辑
摘要: constructor { args } {itk_component add tf {frame $itk_interior.tf}itk_component add fr1 {frame $itk_interior.tf.f1}itk_component add butt1 {button $itk_interior.tf.f1.b1 \ -text "a1" }itk_component add fr2 {frame $itk_interior.tf.f2}itk_component add butt2 {button $itk_interior.tf.f2.b2 \ 阅读全文
posted @ 2011-08-27 13:05 greencolor 阅读(136) 评论(0) 推荐(0) 编辑
摘要: $tclsh% info patchlevel8.4.19% exit$ wish% info patchlevel8.4.19% 阅读全文
posted @ 2011-08-27 10:41 greencolor 阅读(399) 评论(0) 推荐(0) 编辑
摘要: proc gesture_init {w} { bind $w <1> "gesture_start $w %x %y" bind $w <B1-Motion> "gesture_move $w %x %y" bind $w <ButtonRelease-1> "gesture_end $w"}proc gesture_start {w x y} { global $w.GestureX $w.GestureY $w.Dirs set $w.GestureX $x set $w.GestureY $ 阅读全文
posted @ 2011-08-26 12:15 greencolor 阅读(164) 评论(0) 推荐(0) 编辑
摘要: dpi = Pixel1inch = 2.54cm600 dpi (dot per inch)1dpi 0.001666667inch1dpi 0.004233333cm1dpi 0.04233333mm300 dpi (dot per inch)1dpi 0.003333333 inch1dpi 0.008466667 cm1dpi 0.08466667 mm 阅读全文
posted @ 2011-08-25 22:44 greencolor 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Error in startup script: value for "" missingspace after \ 阅读全文
posted @ 2011-08-25 10:01 greencolor 阅读(287) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 82 下一页