diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-06-16 19:48:23 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-06-16 19:48:23 (GMT) |
commit | c3308e6e51d3d241b57996cfa95660b88b05a1d4 (patch) | |
tree | a5ed73d79c9ac0c8392ea5e7af48664fc6736040 /doc/BLT.n | |
parent | 0c854c2841345e631ccb1b14c1f2703ba6274f7f (diff) | |
download | blt-c3308e6e51d3d241b57996cfa95660b88b05a1d4.zip blt-c3308e6e51d3d241b57996cfa95660b88b05a1d4.tar.gz blt-c3308e6e51d3d241b57996cfa95660b88b05a1d4.tar.bz2 |
add html
Diffstat (limited to 'doc/BLT.n')
-rw-r--r-- | doc/BLT.n | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -21,7 +21,6 @@ '\" tortuous action, arising out of or in connection with the use or performance '\" of this software. '\" -.so man.macros .TH intro n BLT_VERSION BLT "BLT Built-In Commands" .BS '\" Note: do not modify the .SH NAME line immediately below! @@ -51,6 +50,25 @@ crosshairs, a legend, and a collection of elements and tags. Creates a vector of floating point values. The vector's components can be manipulated in three ways: through a Tcl array variable, a Tcl command, or the C API. +.SH ADDING BLT TO YOUR APPLICATIONS +It's easy to add BLT to an existing Tk application. BLT requires no +patches or edits to the Tcl or Tk libraries. To add BLT, simply add the +following code snippet to your application's tkAppInit.c file. +.PP +if (Tkblt_Init(interp) != TCL_OK) { +.PP + return TCL_ERROR; +.PP +} +.TP 15 +Recompile and link with the tkblt library and that's it. +.PP +Alternately, you can dynamically load tkblt, simply by invoking the +command +.PP +% package require tkblt +.PP +from your Tcl script. .SH BUGS Send bug reports, requests, suggestions, etc. to wjoye@cfa.harvard.edu |