Download Tcl/Tk Aqua Batteries-Included for free. Tcl/Tk Aqua Batteries-Included is a binary distribution of the Mac OS X native Tcl/Tk and many popular extensions.
- Tk is a graphical user interface toolkit that takes developing desktop applications to a higher level than conventional approaches. Tk is the standard GUI not only for Tcl, but for many other dynamic languages, and can produce rich, native applications that run unchanged across Windows, Mac OS X, Linux and more.
- Download the latest version for windows installer from the list of Active Tcl/Tk binaries available. Active Tcl/Tk community edition is free for personal use. Run the downloaded executable to install the Tcl and Tk, which can be done by following the on screen instructions.
Contents
- Installing
Prerequisites
Tcl Tk Install
You should have Tcl and Tk installed on your computer. Togl works with Tcl/Tk version 8.1 and up (all recent testing has been with version 8.4). The Mac OS X version requires version 8.4 (note: versions 8.4.12 and 8.4.13 have a bug when unmapping Togl widgets).
You must also have OpenGL or Mesa (a free alternative to OpenGL with the same API) installed on your computer.
And one should be familiar with Tcl, Tk, OpenGL, and C programming to use Togl effectively.
Downloading Togl
Togl can be downloaded from SourceForge Files page.
Several prebuilt binary distributions are available as well as a source distribution.
Installing Togl
Installing prebuild binaries
Prebuilt binaries provide a Togl2.0 directory, the togl.h, togl_ws.h and toglDecls.h include files, and the togl stub library (libToglstub2.0.a or Toglstub20.lib, etc). The Togl2.0 directory needs to copied into one of the directories on Tcl's package path (type puts $auto_path
in the Tcl interpreter to see the list of directories). If you have C code that needs to access Togl's subroutines directly, place the include file in the same place as Tcl's include file and the stub library in the same place as Tcl's stub library.
Installing from source
Togl uses the Tcl Extension Architecture to be able to build on the same platforms Tcl can be built on. In addition to the Togl source, you will need to have the Tcl and Tk source distributions because not all installations have the needed Tcl and Tk internal header files.
How you link with Togl depends on how you're planning to use it. There are basically three ways of using Togl with your application:
- Install the Togl shared library and pkgIndex.tcl file (using
make install
) and link to the Togl stubs library with your executable or shared library. In this case you must call Togl_InitStubs() (and probably Tcl_InitStubs() — Tk_InitStubs is only needed if you call Tk functions). This is the way the included Togl examples are built. - Link to the Togl shared library or 'compile in' the Togl object files with your executable or shared library. In this case you must call Togl_Init() from your C code to initialize Togl.
- Install the Togl shared library and pkgIndex.tcl file (using
make install
) and then load it using Tcl commands or Tcl_PkgRequire(). Then use Tcl commands to create and manipulate the Togl widget.
README.stubs
for more info. Specific platform notes follow:
Unix/X11 usage
Unix/X systems only need the public Tcl/Tk include files. Just configure
, make
, and optionally make install
.
Windows 95/NT/2000/XP usage
Windows platforms need tkWinInt.h
and other internal Tk header files. So you need a Tcl/Tk source distribution in addition to the Togl distribution (or copy over the various include files).
Here's the minimal way to build Togl with Tcl/Tk using the gcc that is distributed as part of the cygwin tools (Microsoft's compilers work too):
The resultingTogl20.dll
and pkgIndex.tcl
should be installed into your Tcl installation just like any other package. Tcl Tk Download Mac App
If you change all of the above make
's to make install
instead, then the Togl package is installed correctly.
Mac OS X usage
These special instructions are for building the Aqua version of Togl. Mac OS X needs tkMacOSXInt.h
and other internal Tk header files. Unfortunately, the Tcl and Tk frameworks that Apple distributes are missing the internal headers. So you need a Tcl/Tk source distribution in addition to the Togl distribution (or copy over the various include files). You would probably want a newer version of Tcl and Tk anyway because each minor revision of 8.4 has many Aqua bug fixes.
Here's one way to build Tcl, Tk, and Togl on Mac OS X (assuming they are all in the same directory) to install in your home directory:
Version History
Version 1.0 — March, 1996
- Initial version
Version 1.1 (never officially released)
- Added Togl_LoadBitmapFont function
- Fixed a few bugs
Version 1.2 — November, 1996
- added swapbuffers and makecurrent Tcl commands
- more bug fixes
- upgraded to suport Tcl 7.6 and Tk 4.2
- added stereo and overlay plane support
- added Togl_Get/SetClientData() functions
- added Togl_DestroyFunc()
Version 1.3 — May 2, 1997
- fixed a bug in Togl_Configure()
- fixed a compilation problem in using Tcl_PkgProvide() with Tcl < 7.4
- new overlay functions: Togl_ExistsOverlay, Togl_GetOverlayTransparentValue, Togl_IsMappedOverlay, Togl_AllocColorOverlay, Togl_FreeColorOverlay
- added X11 functions: Togl_Display, Togl_Screen, Togl_ScreenNumber, Togl_Colormap
- added Togl_DumpToEpsFile function
- fixed a C++ compilation problem
- more robust overlay code
- added timers (Togl_TimerFunc) from Peter Dern and Elmar Gerwalin
Version 1.4 — September 17, 1997
- ported to Windows NT (Robert Casto)
- updated for Tcl/Tk 8.0
- added many config flags (-redsize, -depthsize, etc) (Matthias Ott)
- added Togl_Set*Func() functions to reassign callback functions (Matthias Ott)
- added Togl_ResetDefaultCallbacks() and Togl_ClientData() functions (Greg Couch)
Version 1.5 — September 18, 1998
- fixed a few Unix and Windows compilation bugs
- added Ben Evan's SGI stereo functions
- multiple expose events now reduced to one redraw
- destroying Togl widgets caused problems, patched by Adrian J. Chung
- added Togl_TkWin() function
- updated for Tcl/Tk 8.0p2
- added gears demo from Philip Quaife
- added
-sharelist
and-sharecontext
config flags - fixed a few overlay update bugs
- added
-indirect
config flag
Version 1.6 — May 7, 2003
- added Togl_SetTimerFunc function
- updated for Tcl/Tk 8.0.5 and 8.1
- context sharing added for Windows
- Macintosh support (by Paul Thiessen)
- Tcl/Tk stubs support — see README.tcl (by Jonas Beskow)
Version 1.7 — Jan 2006
- added Mac OS X support
- enabled asking for quad-buffered stereo pixel formats on all platforms (use -oldstereo on SGIs for splitscreen stereo — C API changed too)
- configuring the cursor is no longer slow
- added
-pixelformat
config flag - added setgrid support (unfortunately many window managers can't cope with 1x1 pixel grid)
- only free context when last reference is gone
- switched to TEA-based configure (instead of editting make files)
Version 2.0 — Apr 2008
- stubified C API
- replaced EPS support with TK photo image support
- simplified C API by requiring callback command options
- Added command arguments for create, destroy, etc. callbacks, so there is a -createcommand option to the togl command (etc.). (and removed Togl_*Func from the C API)
- added togl instance commands that call C API — see documentation
- use Tcl objects internally
- use Tcl object interface for callbacks
- vertical sync control
- fix thread safety in anticipation that OpenGL drivers may someday be thread safe
- added simple stereo rendering interface
- revised font C API
- updated font support for Tk 8.4 on all platforms
- updated documentation
- prebuilt binaries
Future plans
Patches for the following are especially welcome:- multisampling support (can be worked-around by passing in a pixelformat)
- pbuffers
- Tk 8.5 fonts
- EGL support
- RGB overlays
- Tcl access to colormap manipulation
- more Aqua support
Latest Software Releases
This tutorial will quickly get you up and running with the latest Tk from Python, Tcl, Ruby, and Perl on macOS, Windows, or Linux. It provides all the essentials about core Tk concepts, the various widgets, layout, events and more that you need for your application.
If you have an older version of Tcl / Tk Aqua, you'll benefit from upgrading. There have been many usability improvements since the version that comes shipped with MacOS X Leopard. I tried the link and it redirects to Daniel A. Steffen LinkedIn page, who is the lead developer of Tcl/Tk for Mac, as far as I understand. I tried googling to find. TK-ARCHITECT is a true type format with regular style available for MAC & PC.Its character map contain uppercase alphabets and numbers. Family: TK-ARCHITECT TK-ARCHITECT font has been downloaded (21487) times. A built-in version of Tcl/Tk 8.6 will be used. If you are using macOS 10.6 or later, the Apple-supplied Tcl/Tk 8.5 has serious bugs that can cause application crashes. If you wish to use IDLE or Tkinter, do not use the Apple-supplied Pythons.
Tcl/Tk 8.6.10Source
Tcl/Tk 8.7a3Pre-release
All Tcl/Tk Downloads
ActiveTclMulti-platform
BAWTMulti-platform
MagicsplatWindows
IronTclWindows
Tklib 0.7Feb 9, 2020
Tcllib 1.20Dec 2, 2019
There are several options available for obtaining Tcl/Tk. Theseare listed below.
Operating System Packages
Tcl/tk For Mac
Most Unix / Linux operating system distributions, as well as Mac OS X,include Tcl/Tk. If not already installed, you can use your system'spackage manager to install the appropriate packages. For example,on a Debian system, you can type
to install Tcl. Note than some components, even including Tk,man pages and C libraries may be separate packages and installedin a similar manner.
To check the version installed, start Tcl/Tk(usually via running 'tclsh' or 'wish' from a command line),and typing
Tk For C++
This will tell you what version you're running.
If you do not have privileges to install software or if you needa newer version than the one provided by the system, you may useone of the alternative means of obtaining Tcl as described below.
Binary Distributions
Pre-built Tcl distributions for many common platforms are availablefor download. These include both traditional installers as well assingle file 'download and run' executables. SeeBinary distributions.
Tcl Tk
Tcl/tk For Mac Os X
Install Tcl
Source Distributions
Tcl/tk Download Mac
Pdftk Mac
Finally, you always have the option of downloading the Tcl/Tk sourcedistributions and building it yourself. SeeSource distributions for instructionson downloading and compiling.
Related Software
A very large number of libraries and extensions are available for Tcl/Tk.The most popular and commonly used ones are catalogued in theGreat Unified Tcl/TkExtension Repository. (In other words, get them from the GUTTER.)The Tcler's Wiki is an alternate,but uncategorized, resource for the same.
License Information
Tcl/Tk is open source (based on a BSD-style license), so you canuse it and modify it virtually any way you want, including forcommercial uses. Here is the Tcl source distributionlicense, but be sure to check the license for any particulardistribution you use.
Tcl/tk Download Mac Free
This is the main Tcl Developer Xchange site,www.tcl-lang.org .About this Site |[email protected]
Home |About Tcl/Tk |Software |Core Development |Community |Documentation