summaryrefslogtreecommitdiffstats
path: root/doc/BLT.n
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-06-16 19:48:23 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-06-16 19:48:23 (GMT)
commitc3308e6e51d3d241b57996cfa95660b88b05a1d4 (patch)
treea5ed73d79c9ac0c8392ea5e7af48664fc6736040 /doc/BLT.n
parent0c854c2841345e631ccb1b14c1f2703ba6274f7f (diff)
downloadblt-c3308e6e51d3d241b57996cfa95660b88b05a1d4.zip
blt-c3308e6e51d3d241b57996cfa95660b88b05a1d4.tar.gz
blt-c3308e6e51d3d241b57996cfa95660b88b05a1d4.tar.bz2
add html
Diffstat (limited to 'doc/BLT.n')
-rw-r--r--doc/BLT.n20
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/BLT.n b/doc/BLT.n
index 76f51d7..6f63aa8 100644
--- a/doc/BLT.n
+++ b/doc/BLT.n
@@ -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