I remember that when I used ruby1.9.x in OS X10.8, I just had to download and install ActiveTcl8.5, and run TK well without any configuration. But recently want to re-execute the TK code, found in require ' TK ' when the error bird! The ruby2.1.3 version is now in use. Search the Internet, the version after 1.9.x no longer TC
The following are the installation steps for installing TCL/TK:Step1 Download and install TCL/TK:TCL/TK is a cross-platform language that can be used under multiple systems.For LINUXStep1: Download tcl and TK installation fileshttp://www.tcl.tk/software/tcltk/download.html S
A first open the Web download TCL/TK game source Http://sourceforge.net/projects/tkgames/files/latest/download?source=typ_redirectb The TCL/TK source code file in the compressed package tkHearts-0.90 opened with a text editor, and all the contentCopy to the Init_script string constant in the go source code below Packag
language extensions provided object-oriented capabilities before 8.6, including xotcl and incr TCL. In addition, SNIT extensions are written in TCl.
TK is the most widely used TCL extension. TK provides graphical user interface GUI for various OS platforms. Even the powerf
This is a creation in
Article, where the information may have evolved or changed.
A first open the page http://wiki.tcl.tk/1359
"Trains3.tclupdated 2012-12-09 19:44:49 by Pooryorick"
b Copy the TCL/TK code mentioned in the webpage into the Init_script string constant of the go source code as follows
Package Main
Import "Github.com/nsf/gothic"
Const init_script = '
#把
This is a creation in
Article, where the information may have evolved or changed.
A first open the Web download TCL/TK game source Http://sourceforge.net/projects/tkgames/files/latest/download?source=typ_redirect
b The TCL/TK source code file in the compressed package tkHearts-0.90 opened with a text editor, and all th
This is a creation in
Article, where the information may have evolved or changed.
A first open the Web download TCL/TK game source Http://sourceforge.net/projects/tkgames/files/latest/download?source=typ_redirect
b The TCL/TK source code file in the compressed package tkHearts-0.90 opened with a text editor, and all th
This is a creation in
Article, where the information may have evolved or changed.
A first open the page http://wiki.tcl.tk/13601
b Copy the first paragraph of the TCL/TK code mentioned in the webpage into the Init_script string constant of the go source code as follows
Package Main
Import "Github.com/nsf/gothic"
Const init_script = '
#把Tcl/
This is a creation in
Article, where the information may have evolved or changed.
A first open the page http://wiki.tcl.tk/4364
"Car Racing in tclupdated 2011-08-25 01:30:05 by RLE"
b Copy the TCL/TK code mentioned in the webpage into the Init_script string constant of the go source code as follows
Package Main
Import "Github.com/nsf/gothic"
Const init_script = '
#把
This is a creation in
Article, where the information may have evolved or changed.
A first open the page http://wiki.tcl.tk/16939
b Copy the first paragraph TCL/TK code mentioned in the webpage to the Init_script string constant in the Go source code
Package Main
Import "Github.com/nsf/gothic"
Const init_script = '
#把Tcl/
A first open the page http://wiki.tcl.tk/4364"Car Racing in tclupdated 2011-08-25 01:30:05 by RLE"b Copy the TCL/TK code mentioned in the webpage into the Init_script string constant of the go source code as follows Package MainImport "Github.com/nsf/gothic"Const init_script = '#把Tcl/TK source code is copied int
A first open the page http://wiki.tcl.tk/13601b Copy the first paragraph of the TCL/TK code mentioned in the webpage into the Init_script string constant of the go source code as follows Package MainImport "Github.com/nsf/gothic"Const init_script = '#把Tcl/TK source code is copied into this constant. ` func ma
This is a creation in
Article, where the information may have evolved or changed.
This article mainly quoted the online teaching http://www.cwflynt.com/TclForTeens/
Step a Download the poker image Package mentioned in Lesson 17th
Http://www.cwflynt.com/TclForTeens/cards.zip
Unzip all files within the Cards.zip to the C:\cards\ directory
"You can put it in the Cards directory of the desktop."
Step b jumps to the 20th lesson http://www.cwflynt.com/TclForTeens/lsn20.html
Find the last frame
This is a creation in
Article, where the information may have evolved or changed.
A first open the page http://wiki.tcl.tk/13680
b copy each piece of code mentioned in the webpage to the Init_script string constant in the Go source code
"Note that until the end of the last section of code is
Bind . up> {exec wish $argv 0 ; Exit}
If I'm not wrong, it's a total of 7 pieces of code, preceded by 6 proc code Snippets,
The last 2 lines of code can be removed.
Package Main
Import "Github.com/nsf/g
This is a creation in
Article, where the information may have evolved or changed.
A first open the page http://wiki.tcl.tk/1270
b put the page up the first paragraph of the code mentioned "note" the first paragraph only to the wm resizable . 0 0 End "Init_script string constant copied to go source code
Package Main
Import "Github.com/nsf/gothic"
Const init_script = '
#把Tcl/TK source code is
This is a creation in
Article, where the information may have evolved or changed.
A first open the page http://wiki.tcl.tk/14283
"3D polyhedra with simple tk canvas Updated 2014-10-24 21:38:58 by ZB"
b Copy the TCL/TK code mentioned in the webpage into the Init_script string constant of the go source code as follows
Package Main
Import "Github.com/nsf/gothic"
This is a creation in
Article, where the information may have evolved or changed.
A first open the page http://wiki.tcl.tk/4364
"Car Racing in tclupdated 2011-08-25 01:30:05 by RLE"
b Copy the TCL/TK code mentioned in the webpage into the Init_script string constant of the go source code as follows
Package Main
Import "Github.com/nsf/gothic"
Const init_script = '
#把
This is a creation in
Article, where the information may have evolved or changed.
A first open the page http://wiki.tcl.tk/10287
b Copy the TCL/TK code mentioned in the webpage into the Init_script string constant of the go source code as follows
Package Main
Import "Github.com/nsf/gothic"
Const init_script = '
#把Tcl/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.