Submit a tcl/tk Reference
Some examples tcl/tk codes
Man of Bwidget
Man of blt
Video Demo real.
Questions on building Tcl and friends on your system
Is there anywhere I can find help with the details of getting Tcl to work on my machine?
Why does the link step says that some of the functions Tcl, needs are missing when I am trying to build it?
Has anyone built Tcl 6 on an RS/6000 AIX 3.1?
Has anyone gotten Tcl to compile under HP-UX?
Has anyone gotten Tcl to compile under VMS?
What does it take to get Tcl to compile under SCO Unix?
Why do I get format and scan errors when I run tclTest (NeXT, AIX, etc.)?
Why do I get lots of errors under Irix 4.0.1 when I run tclTest?
Does anyone else have problems with Tcl on a Cray?
Does anyone know how to get Tk to run on a SparcBook or other laptop with a limited number of colors?
What does it take to get Tcl/Tk to compile on 386bsd/Linux or other Posix/ANSI C systems not already supported?
Why do I get a parse error in tkInit.c when I try to compile Tk on my Irix machine?
What do I need to do to install Tcl 7.1/Tk 3.4 on NeXTSTEP 3.1?
Why can`t I print the draft of the Tcl/Tk book?
Why am I getting errors on my SGI Indigo workstation?
How, in Tcl, can I XXX:
How do I build expect on Solaris 2.3?
How do I add BLT to a TclX/Tk ?
association lists or property lists?
call one proc with the multi parameter value returned by another proc?
pass an array into a proc?
pipe output of a command back into a Tcl parsing procedure?
merge extended Tcl into other programs such as wish or expect?
delete a procedure from within a script?
get parray to recognize an array variable I have created via upvar?
get more than 7 digits of double precision ?
grab the command line whenever a non-built-in call is made?
get or set an environment variable?
use numbers with leading zeroes?
find the command line arguments to my application?
put comments in my script, for example in a case statement?
redirect stdin or stdout safely, including binary data?
trap signals, and other more Unix specific functions?
get quoted strings to work the way I want?
share procedures between multiple tcl applications?
How, in Tk, can I XXX:
get items inserted into a list?
perform a non-blocking read on a file identifier?
read and write from a pipe without locking up?
get my wish application to execute - I just get a wish prompt! Or I just get error msgs about permission denied, not found, etc.
,using a machine with less than 8 bit color, run?
set X11 resources for a wish application in an app-defaults file?
specify bitmap patterns on the command line instead of just as a file name?
get a Motif user interface?
get an OpenLook user interface?
get Tk 3.3 to even start - I get security error messages.
change the default class bindings?
delete a binding?
change a binding while it is being executed?
bind the arrow key on my Sun keyboard?
get root`s mouse bindings to work in my Tk application?
get an application to also use libXt?
change the X11 cursor?
raise or lower a window?
re-map a withdrawn window id?
use Tk in a subwindow of a non-Tk X11 application?
to a frame containing other widgets?
mix interactions between Xt and Tk/Tcl?
resize a listbox?
select two items that are not adjacent in the listbox at one time?
select items in more than one Tk listbox at a time?
avoid fractional white space at the end of a resizable listbox?
get output from a Tk canvas?
fill a canvas which is bounded by lines as opposed to a shape like a polygon, oval, etc.?
raise/lower canvas window objects or draw graphics onto a window object inside a canvas?
detect when the canvas has been resized?
get the name of my own interpreter?
get -relief to work on my text widgets?
create a scrollable window of buttons?
pack a text widget so that it can be resized interactively?
create a widget with an upper case name?
create equal sized buttons?
vertically stack radio buttons aligning regardless of font?
initialize an entry widget with some text?
Where can I get these packages?
Accessing the Tcl/Tk User Contributions Archive
Expect available via e-mail.
EMACS modes for Tcl
The tk toolbox project
[tv]grind definitions for tcl/tk/expect
BNF style notation for Tcl
Tk Quick Reference Card
Hilit 19 Tcl mode
Building and Installing Tk et_al on my system
Are there binaries available for my system?
How do I get Tcl/Tk to compile/work on my machine?
Why does the link step says that some of the functions Tcl needs are missing when I am trying to build it?
How do I add BLT to a Tcl(X)/Tk?
How do I create a dynamically loadable library for Tcl/Tk?
How do I use Tk as a DLL with Tcl?
Where are the `.lib` files for building shared libraries on Windows?
Running Tk applications
Where can I get info on porting my Tk3 application to Tk4? to Tk8?
How do I get my wish application to execute on Unix (I just get a wish prompt!)?
How do I run Tcl/Tk scripts by double-clicking on Windows/Mac?
How can I get Tk to use `send` (I get security error messages)? Does `send` work on Windows/Mac?
How can I ignore send from other applications?
Does Tcl/Tk read a resource/startup file?
How can I call Tk scripts from a C program?
Why does Tk look funny in CDE/VUE?
Tk application bindings (mouse and keyboard)
How can I change the default class bindings?
How can I delete a binding?
How can I bind to the arrow keys?
How can I get window manager`s mouse bindings to work in my Tk application?
How can I add new actions to an existing binding?
How do the mouse buttons map when I have less than 3 buttons?
Tk user interface questions
How can I set X11 resources for a wish application in an app-defaults file?
Can I choose a particular user interface look and feel? How do I get native look and feel on Windows/Mac?
How can I change the Tk cursor?
How can I change the default colors in Tk?
How do I specify fonts in Tk?
Tk window manager interaction questions
How can I get the geometry of my window (I get 1x1+0+0)?
How can I raise or lower a window?
How can I withdraw/iconify a window? How can I remap a withdrawn window?
How can I use Tk in a subwindow of a non-Tk application?
How can I mix interactions between Xt and Tk/Tcl?
How can I bind the ResizeRequest event?
What is the difference between wm and winfo?
How can I prevent my toplevel from being destroyed? How do I make my toplevel ignore the window manager delete button?
How can I prevent my toplevel from being iconified?
How can I keep my toplevel on top?
Is Tk fully ICCCM compliant?
Tk `canvas` widgets questions
How can I get output from a Tk canvas?
How can I fill a canvas area which is bounded by lines as opposed to a shape like a polygon, oval, etc.?
How can I raise/lower canvas window objects or draw graphics onto a window object inside a canvas?
How can I detect when the canvas has been resized?
How can I use a list of coordinates in a variable to create a polygon (or any other item)?
How can I speed up `canvas` performance?
How can I put/print an image on the `canvas`?
Why doesn`t the `canvas` seem to start at 0,0?
Does the `canvas` have a `see` method?
Tk `entry` widgets questions
How can I initialize an entry widget with some text?
How can I limit entry widget input (length or type of chars)?
Tk `listbox` widgets questions
How can I select multiple items that are not adjacent in the listbox at one time?
How can I select items in more than one Tk listbox at a time?
How can I avoid fractional white space at the end of a resizable listbox?
How can I scroll multiple listboxes with one scrollbar?
Why doesn`t `.listbox curselection` or `selection get` return the proper item when I make a button binding to my listbox?
Can I have different colored lines in a listbox?
Tk `menu` widget questions
How can I get the tearoff menu to reflect changes in the regular menu?
Why do I have problems accessing item/index 0 of my menu?
How do know when I am over a specific entry in a menu?
Tk `text` widgets questions
How can I pack a text widget so that it can be resized interactively?
Why do I get an extra newline from the text widget?
How can I check to see if the text widget contents have changed?
How can I maintain read-only sections of a text widget?
Is there an overwrite/overstrike mode for text/entry widget?
How can I always see the end of the text widget?
Does the text widget have undo?
What are the visible lines in a text widget?
Miscellaneous Tk widget questions
How can I create a scrollable window of buttons?
How can I create a widget with an upper case name?
How can I vertically align radio/check buttons regardless of font?
How can I group a set of radiobuttons together?
Tk image questions
Does Tk support JPEG/GIF/XPM/etc?
How can I specify bitmap/image patterns on the command line instead of as a file name? What is the format of the `-data` option for images?
How do I get Tk to recognize the transparency in my GIF images?
How can I get bitmaps created with `image` to work with `-stipple`?
Tk geometry manager questions
How can I find my invisible windows when using the packer?
How can I get `cget` to return the correct size of a resized widget? (`.widget cget -width|height` returns the wrong size!)
How can I clear the geometry settings for a toplevel?
How can I add a row/col to the grid?
Miscellaneous Tk questions
How can I get the name of my own interpreter?
How can I destroy every window except `.`?
How can I get drag & drop functionality in my program?
How can I get a double-click to ignore a single-click?
How can I warp the mouse pointer?
How do I run wish programs without a display? How do I run my wish program on a server?
Is there a difference between stand-alone Tk and the Tk plugin?
How can I do terminal emulation in Tk?
Questions on Tk related extensions/applications
What is incrTcl/incrTk?
What is BLT?
What is Tix?
Is there a GUI builder available? What is XF/Visual Tcl?
How to get Tcl/Tk For Windows
Binary release of Tcl/Tk for Windows
How to Run Scripts from Windows
Installing/Can`t Run At All
Don`t upgrade over a previous version
Working with Windows
Working with NT
Getting a List of Running Services on NT
Launching an HTML Browser to Display Help
Differences From Unix
How to create a valid font name on Windows.
Cut, Copy and Paste in the Tcl Console Window
Using the Windows Clipboard
send is not implemented on Windows
Start-up Files tclsh.rc and wishrc.tcl
Accessing PC serial ports from Tcl
Using UNC file names
Getting List of Mounted Drives
Accessing the Windows Registry
Using Dynamic data Exchange (DDE)
winfo interps and send fails on Windows
Installing Tcl/Tk Applications on Windows
Making executable scripts on NT You can make a Tcl script into a direct executable following the guidelines on the Web at: http://outoften.doc.ic.ac.uk/np2/software/tcl-setup.html. (Note: I have had trouble with this link.)
Windows-Specific Bugs and Problems
fileevent only supports sockets under Windows until 8.1
You need at least 256 colors and may have problems with more than 256
Problems with clock command on Windows
wm iconbitmap doesn`t work on Windows
If you use a pipe (|) in open, until the child process has terminated no events will be processed
The rightmost mouse button is Button-3
Tk on Windows supports cursors
Sockets are not available on the system error
toplevel -container does not work
exec: couldn`t create error file for command: Error 0
Wish uses a lot of system resources and doesn`t free them.
Once exec fails, the next exec generates a fatal error. Tcl7.5a1/Tk4.1a1 bugs with exec on Windows.
Compiling and Writing C and C++ Extensions
Getting the source code
Tcl no longer compiled with Borland C++
Tcl uses long file names
Creating Dynamic Extensions on Windows
C++ and DLLs
Compiling with EGCS/Ming32
Allocate memory with Tcl_Alloc
Tcl and Microsoft Foundation Classes
Can`t find init.tcl error when embedding interpreter in your code
Tix works on Windows
Network, Registry and ODBC Extensions
BLT Win32 Patches
VerTcl/TkCon Provides a Useful Console On Windows
OCX Extensions for Tcl
MDI (Muliple Document Interface)
Windows shortcuts extension
Togl (Tk OpenGL)
Tabbed dialogs, Combobox, etc.
WinExec, Print, and Other Extensions
Img Image Extension
ActiveTcl BGI Tcl Windows Extension
NT, ODBC, Shortcut, SNMP, etc., Extensions
Snack Sound Extension
WinTclSend Extension to send keystrokes to other applications
Tcom Access COM Objects
Windows 3.1 Issues
How to execute tclsh76.exe from Windows 3.1
Strange behaviour of exec under Win 3.1
Windows 3 doesn`t support help contents file
Wish generates a UAE error (Unhandled Win32s Exception) at startup.
Increasing environment space in DOS.