Chapter 3. Tcl- Code Generation

Table of Contents

Introduction
panedwindow
propertyDBEx
fontNew
BWNoteBook
template
hugelistItem
tag
bindtags
listbox
relativename
ifcProperty
preamble
bindcanvas
canvas
dotted
bind
relativeres
resourcesspace
embedTcl
bindzinc
actions
tagbind
resourceX11
prerequisite
itemproperties
ifcNew
inlay
gradientTkPathNew0.3
environmentVariables
resourceMsgCat
menuNew
notebook
pathcanvas
commentDescript
resourcesMsgCat
bindtagsOfPathCanvas
newline
testAddendum
clipzinc
gridconfig
canvasNew
afilepath
procedure
restoreTree
zinc
tabletag
tablespans
gradientTkPathNew0.2.4
tagconfigure
resourcesRead
vanilla
seltabset
stops
unknownmanager
propertyDB
coding
instantiate
register
coordszinc
resourceTk
rfilepath
textmanager
addendum
groupv
relativew
property
properties
text
goolbar
zincNew
relativeparent
styleTkPathNew
tablewindow
pathgroup
propagate
zincwindow
resourcesMsgCatT
embeddedListbox

Code fragments to create Tcl/Tk code. Used by vgcode.tcl.

Contains: • Lisp Wrapper, • Emacs Skeletons, • DocBook Refentry, • Tcl-Code (vanilla and template) • XRDB Resources

Wrapper for lisp (ltk) and a docbook based man page can be generated for a selected template ... see vgcode.tcl, vgmenu.tcl and gestalt.tcl for usage.

Emacs skeletons are generated for every known method. This skeleton works on the method name itself. The assumed call is preluded by the composit path name. Identical names from different templates may overwrite previous abbrevations, but not the definition itself!

Use the same namespace (dumper), but a different package name for other coding models (vanilla, template, xrdb) and languages!

The modules vgcode.tcl, tcdumper.tcl, vgfile.tcl are glued together by tcledit.tcl. TclEdit.tcl is so to say the manager of the code generation package.