Tcl-Tk Code 'Snippets' Sources


In particular, code-sources in the FE 'tkGooies' system


--- and from wiki.tcl.tk or other web sites.


(Snippets to facilitate development of Tk GUI's.)



(FE = Freedom Environment)

This animated-GIF file was created with
the 'wheeeMorph' script of 'tkGooies'.

FE Home page > FE Downloads page > FE 'tkGooies' Download page > 'tkGooies' Description page >

Various 'tkGooies' CODE pages > This 'Tcl-Tk Code Snippets Sources' page

< Go to Table of Contents, below >
(SKIP THIS INTRO)

INTRODUCTION :

As I develop more and more Tk GUI scripts in the FE 'tkGooies' subsystem of the group of FE (Freedom Environment) subsystems, I find it extremely helpful to copy 'snippets' of code from an 'old' tkGooie script, for use in a new 'tkGooie' --- and then make a few changes of variable names and widget names.

And as I publish scripts of the 'tkGooies' system on the CODE pages that are available via the 'tkGooies' Description page, I add a section to each 'CODE page' that expresses the hope that that particular 'tkGooie' script may help others to learn to make Tcl-Tk scripts that are of interest to them.

In the course of these activities ('tkGooie' code development and 'tkGooie' code publishing), I realized that it will be of help to me --- and to other potential Tcler's --- to have a web page that points to sources of various kinds of Tcl-Tk code 'snippets'.

I quickly realized that, when I am looking for a Tcl-Tk code snippet, I am usually looking for a snippet that is of one of 3 general kinds:

  • a WIDGET - an example of DEFINITION (and packing) of a widget

  • a BINDING - an example of binding an EVENT to a widget

  • a PROC - an example to perform a SPECIFIC FUNCTION, such as file-reading, or file-writing, or plotting lines/ovals/polygons on a canvas, or plotting pixels in a photo-image on a canvas, or performing a certain kind of calculation, or whatever.

It is the purpose of this page to provide a quick link to 3 web pages that provide web links to these 3 kinds of Tcl-Tk code snippets.

Most of the links on those three pages will be to the 'CODE pages' of my 'tkGooies' system --- pages of this FE (Freedom Environment) web site, www.freedomenv.com.

But some links may be 'external' links --- to helpful pages at the Tcler's wiki --- wiki.tcl.tk --- or elsewhere on the web.

Here are the links to 'Widgets', 'Bindings', and 'Procs' pages.

Table of Contents:    (links to 'sources-of-Tcl-Tk-snippets' pages)

End of Table of Contents.

Bottom of this page of Tcl-Tk Code 'Snippets' Sources.

To return to a previously visited web page, click on the
Back button of your web browser a sufficient number of times.
OR, use the History-list option of your web browser.
OR ...

< Go to Table of Contents, above. >
< Go to Top of Page, above. >

Page created 2016 Jul 28.
Page changed 2016 Jul 30. (Revised some sentences. Added some links.)
Page changed 2016 Nov 04. (Moved content of this page to 3 separate pages.)
Page changed 2016 Nov 07. (Renamed a web page in a link.)