Jeszra API: Gestalt of Code

Application Programmers Interface (API) - Code Generation


Table of Contents

Preface
Revision Control
Software License
The Audience of this Book
Organization of this Book
1. Code Generation Overview
Introduction
Jeszra Premier Languages
Introduction
Tcl and the Tk Model
Scalable Vector Graphics Language and Model
Jeszra Secondary Languages
Scalable Vector Graphics on the Horizon
2. Self-editing and Embedding Jeszra
3. Tcl- Code Generation
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
4. SVG- Code Generation
Introduction
tabs2tspan
textitem
listbox
getTagProperties
breakIntoLines
arrow
itemproperties
pathcanvas
groupzinc
getImage
clipzinc
imageNew
canvasNew
clear
rmargin
label
frameRelief
tagconfigure
pattern
vanilla
stops
radialGradient
instantiate
coordszinc
classStyle
swapTR
entry
frame
groupv
nextrange
gradientTkPathNew
text
properties
property
zincNew
styleTkPathNew
isGroupMade
iconitem
linearGradient
pathgroup
getParentWindowByID
lmargin1
complexText
screenshot
doarrow
make
5. SVG Import and Code Generation
Introduction
stop
composeTkpNew
composeTkp
composeTkpStyle
newTkpName
properties
6. SVG Import DOM-Tree Parser-Converter to Tcl/Tk
Introduction
analyzeNode
filterProperties0.3
analyzeSvg
analyzeG0.3
analyzeTspan
analyzePolyline
prototypeAnalyze
analyzeLinearGradient
getStyle
analyzeStop
analyzeRect
filterProperties0.2.4
analyzeMask
analyzeRadialGradient
analyzeMarker
parseChildren
analyzeDefs
analyzeImage
analyzeCircle
makeVector
analyzeUse
inherit
analyzeFont
analyzeText
makeText
makeGradient
analyzePolygon
analyzePattern
parseFilteredChildren
analyzeLine
analyzeEllipse
makeGroup
analyzeG0.2.4
analyzePath
7. Tcl/Tk Parser-Converter to SVG
Introduction
isItemInvisible
isAlwaysWhile
register-screenshot
dump-children
zordered
dump-widget
isInvisible
8. SVG DOM-Tree Access
Introduction
addTextElement
getRoot
dump.style
addWindow
dump
getNodeByID
addStyle
addToDefs
make
dump.vanilla
addElement
9. Tcl/Tk Parser
Introduction
dump-geometry-canvas
isItemInvisible
createOptions-image
save-elisp
isSkippedFor
isIgnored
dump-composed
dump-configure-Rtl_mlistbox
initActions
isKey
useResourceFile
dump-configure
getTarget
dump-configure-TixLabelFrame
insertClassDef
walkDownZincGroups
clearBuffers
dump-geometry-notebook
dump-gchild
isAlwaysWhile
dump-configure-Hugelist
dump-hugelist-items
save-docbookAPI
countWidgets
save-widget
makeAddendum
appendActions
dump-children-NoteBook
cleanseTags
prerequisite
dump-configure-PathCanvas
setMapOption
dump-geometry-panedwindow
reverse
getValidProc
substitutep
dump-configure-Rtl_tabset
isDefault
lineargradient
storeStyles
setIndexedArrayMap
testAddendum
isPart
clearOptions
baseName
save-lisp
isComposed
dump-configure-Zinc
infoproc
dump-configure-TixNoteBook
dump-configure-Galette
dump-configure-Goolbar
style
tixpage
remMap
isAssigned
remAllMap
isSkipped
resolve-chars
initPrerequisite
dump-configure-Menu
getMapOption
save-xcode
storeFonts
isSkippedZinc
validHelp
dump-geometry-text
dump-geometry-grid
dump-configure-Table
dump-children
useMsgCat
getArrayMap
save-docbook
dump-configure-Tablelist
getIndexedArrayMap
save-ruby
dump-configure-TixPanedWindow
dump-configure-Listbox
dump-widget
dump-template
dump-geometry-zincwindow
initStyles
isHugelistSkipped
isMessage
getGroupID
useSimpleCode
dump-configure-Rtl_tree
createOptions-tile
mkSources
resolveFileProperty
procname
save-python
storeActions
dump-tag
dump-hugelist-Rtl_mlistbox
newMap
dump-bindings
isInvisible
setArrayMap
getInterface
storeLineargradients
dump-configure-Gistbox
initWidgets
validHref
searchVar
storePrerequisite
quoting
10. Project and File Management
Introduction
mkFile
isSimpleCode
getName
modified
open
openFile
new
getTitle
import
modifyBlock
mark
init
proto
mkSources
genifc
mkNames
docbookLanguage
setModified
protoifc
regifc
source
getType
instanciate
getBlock
docbookExample
makeDefaultIfcfile
close
clear
11. Embedding Jeszra
Introduction
init
wm
infoproc
new
A. Appendix
Glossary
Index

List of Figures

1.1. Code Generation Map
1.2. Tcl/Tk Timeline
1.3. Ruby - Tk and SVG Models Timeline
1.4. Lisp - Tk and SVG Models Time-Line
1.5. Python - Tk and SVG Models Timeline
2.1. Application with Jeszra
2.2. Jeszra Hierarchy
2.3. General Preferences

List of Examples

2.1. Custom Jeszra
2.2. Hijacking Preferences
3.1. ::vgcode::dump-geometry-panedwindow using panedwindow
3.2. ::vgcode::storeFonts using fontNew
3.3. ::vgcode::dump-children-NoteBook using BWNoteBook
3.4. ::vgcode::save-widget using template
3.5. ::vgcode::dump-hugelist-items using hugelistItem
3.6. ::vgcode::dump-configure-Text using tag
3.7. ::vgcode::dump-bindings using bindtags
3.8. ::vgcode::dump-configure-Listbox using listbox
3.9. ::vgcode::baseName using relativename
3.10. ::vgcode::insertClassDef using ifcProperty
3.11. ::vgcode::makePreamble using preamble
3.12. ::vgcode::dump-configure-PathCanvas using bindcanvas
3.13. ::vgcode::dump-configure-PathCanvas using canvas
3.14. ::vgcode::dump-tag using bind
3.15. ::vgcode::res-widget-name using relativeres
3.16. ::vgcode::mkSources using resourcesspace
3.17. ::vgcode::mkSources using embedTcl
3.18. ::vgcode::appendActions using actions
3.19. ::vgcode::dump-configure-Text using tagbind
3.20. ::vgcode::getOptions using resourceX11
3.21. ::vgcode::prerequisite using prerequisite
3.22. ::vgcode::dump-hugelist-items using itemproperties
3.23. ::vgcode::insertClassDef using ifcNew
3.24. ::vgcode::mkSources using inlay
3.25. ::vgcode::getOptions using resourceMsgCat
3.26. ::vgcode::dump-configure-Menu using menuNew
3.27. ::vgcode::dump-geometry-notebook using notebook
3.28. ::vgcode::dump-configure-PathCanvas using pathcanvas
3.29. ::vgcode::storeDescription using commentDescript
3.30. ::vgcode::dump-configure-PathCanvas using bindtagsOfPathCanvas
3.31. ::vgcode::dump-configure-Zinc using clipzinc
3.32. ::vgcode::dump-children using gridconfig
3.33. ::vgcode::dump-geometry-canvas using canvasNew
3.34. ::vgcode::resolveFilePropertyAsFile using afilepath
3.35. ::vgcode::save-widget using procedure
3.36. ::vgcode::dump-configure-Rtl_tree using restoreTree
3.37. ::vgcode::dump-configure-Zinc using zinc
3.38. ::vgcode::dump-configure-Table using tabletag
3.39. ::vgcode::dump-configure-Table using tablespans
3.40. ::vgcode::dump-configure-Text using tagconfigure
3.41. ::vgcode::mkSources using resourcesRead
3.42. ::vgcode::dump-widget using vanilla
3.43. ::vgcode::dump-configure-Rtl_tabset using seltabset
3.44. ::vgcode::lineargradient using stops
3.45. ::vgcode::dumpGeometry using unknownmanager
3.46. ::vgcode::dump-hugelist-items using propertyDB
3.47. ::vgcode::mkSources using coding
3.48. ::vgcode::dump-widget using instantiate
3.49. ::vgcode::save-widget using register
3.50. ::vgcode::dump-configure-Zinc using coordszinc
3.51. Alternate Resources
3.52. ::vgcode::getOptions using resourceTk
3.53. ::vgcode::resolveFilePropertyAsFile using rfilepath
3.54. ::vgcode::dump-geometry-text using textmanager
3.55. ::vgcode::dump-configure-Zinc using groupv
3.56. ::vgcode::res-widget-name using relativew
3.57. ::vgcode::createOptions-image using property
3.58. ::vgcode::dump-geometry-canvas using properties
3.59. ::vgcode::dump-configure-Text using text
3.60. ::vgcode::dump-configure-Goolbar using goolbar
3.61. ::vgcode::dump-configure-Zinc using zincNew
3.62. ::vgcode::baseName using relativeparent
3.63. ::vgcode::style using styleTkPathNew
3.64. ::vgcode::dump-configure-Table using tablewindow
3.65. ::vgcode::dump-configure-PathCanvas using pathgroup
3.66. ::vgcode::dump-geometry-grid using propagate
3.67. ::vgcode::dump-geometry-zincwindow using zincwindow
3.68. ::vgcode::mkSources using resourcesMsgCatT
3.69. ::vgcode::dump-configure-Gistbox using embeddedListbox
4.1. Clipping a Group
4.2. Viewport and Groups
4.3. Definition of a Linear Gradient
4.4. Using a previous defined Gradient
4.5. SVG graphical Text
4.6. Side note: text window
4.7. SVG rect
4.8. SVG circle
4.9. SVG ellipse
4.10. SVG line
4.11. SVG polyline (line in Tk)
4.12. SVG polygon
4.13. SVG path
4.14. Alternate SVG path definition
4.15. SVG Transformation Matrix
4.16. Transformations and Gradients
4.17. Style Referenced
4.18. SVG image usage
4.19. Not Implemented, yet
4.20. SVG pattern
4.21. CSS Alternate Color for Listbox
4.22. ::vgcode::dump-configure-Listbox using listbox
4.23. SVG marker from an Arrow
4.24. ::vgcode::dump-hugelist-items using itemproperties
4.25. pathcanvas
4.26. ::vgcode::dump-configure-PathCanvas using pathcanvas
4.27. ::vgcode::dump-configure-Zinc using groupzinc
4.28. ::vgcode::dump-configure-Zinc using clipzinc
4.29. Defining an Image
4.30. Using an Image
4.31. ::vgcode::storeItems using imageNew
4.32. ::vgcode::dump-geometry-canvas using canvasNew
4.33. ::vgcode::dump-configure-Text using tagconfigure
4.34. ::vgcode::dump-widget using vanilla
4.35. ::vgcode::lineargradient using stops
4.36. ::vgcode::dump-widget using instantiate
4.37. ::vgcode::dump-configure-Zinc using coordszinc
4.38. ::vgcode::dump-configure-Zinc using groupv
4.39. ::vgcode::lineargradient using gradientTkPathNew
4.40. ::vgcode::dump-configure-Text using text
4.41. Using Viewport
4.42. Using Clipping
4.43. ::vgcode::dump-geometry-canvas using properties
4.44. ::vgcode::createOptions-image using property
4.45. ::vgcode::dump-configure-Zinc using zincNew
4.46. ::vgcode::style using styleTkPathNew
4.47. SVG linearGradient
4.48. ::vgcode::dump-configure-PathCanvas using pathgroup
4.49. Register for Screen-shots
5.1. ::vgcode::dump-geometry-canvas using properties
8.1. ::dumper::tabs2tspan using addTextElement
8.2. ::dumper::arrow using getRoot
8.3. ::dumper::instantiate using addWindow
8.4. ::dumper::arrow using getNodeByID
8.5. ::dumper::tagconfigure using addStyle
8.6. ::dumper::arrow using addToDefs
8.7. ::dumper::make using make
8.8. ::dumper::textitem using addElement
9.1. Prototype Order for Template
9.2. ::vgfile::regifc using resolve-chars
9.3. ::vgfile::mkSources using mkSources
9.4. ::vgfile::open using initWidgets
10.1. Generated Buffers
10.2. Used Buffers
10.3. Order in vg21ifc.pro(to)
A.1. editTools