diff options
-rw-r--r-- | doc/BLT.n | 20 | ||||
-rw-r--r-- | doc/barchart.n | 1 | ||||
-rw-r--r-- | doc/graph.n | 1 | ||||
-rw-r--r-- | doc/vector.n | 1 |
4 files changed, 19 insertions, 4 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 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! |