summaryrefslogtreecommitdiffstats
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
parent0c854c2841345e631ccb1b14c1f2703ba6274f7f (diff)
downloadblt-c3308e6e51d3d241b57996cfa95660b88b05a1d4.zip
blt-c3308e6e51d3d241b57996cfa95660b88b05a1d4.tar.gz
blt-c3308e6e51d3d241b57996cfa95660b88b05a1d4.tar.bz2
add html
-rw-r--r--doc/BLT.n20
-rw-r--r--doc/barchart.n1
-rw-r--r--doc/graph.n1
-rw-r--r--doc/vector.n1
4 files changed, 19 insertions, 4 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
diff --git a/doc/barchart.n b/doc/barchart.n
index e9c4c33..6b3c29a 100644
--- a/doc/barchart.n
+++ b/doc/barchart.n
@@ -23,7 +23,6 @@
'\"
'\" Barchart widget created by Sani Nassif and George Howlett.
'\"
-.so man.macros
.TH barchart n BLT_VERSION BLT "BLT Built-In Commands"
.BS
'\" Note: do not modify the .SH NAME line immediately below!
diff --git a/doc/graph.n b/doc/graph.n
index 737bd1b..72df726 100644
--- a/doc/graph.n
+++ b/doc/graph.n
@@ -23,7 +23,6 @@
'\"
'\" Graph widget created by Sani Nassif and George Howlett.
'\"
-.so man.macros
.TH graph n BLT_VERSION BLT "BLT Built-In Commands"
.BS
'\" Note: do not modify the .SH NAME line immediately below!
diff --git a/doc/vector.n b/doc/vector.n
index c0db576..9b50e32 100644
--- a/doc/vector.n
+++ b/doc/vector.n
@@ -23,7 +23,6 @@
'\"
'\" Vector command created by George Howlett.
'\"
-.so man.macros
.TH blt::vector n BLT_VERSION BLT "BLT Built-In Commands"
.BS
'\" Note: do not modify the .SH NAME line immediately below!