summaryrefslogtreecommitdiffstats
path: root/tkblt/doc/BLT.html
blob: 55e4e38ca0b1bdfbb2a864d0ab82bcef7b88862f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<HTML>
<BODY>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->

</PRE>
<H2>DESCRIPTION</H2><PRE>
       BLT is a library of extensions to the Tk library.  It adds new commands
       and variables to the application's interpreter.



</PRE>
<H2>COMMANDS</H2><PRE>
       The following commands are  added  to  the  interpreter  from  the  BLT
       library:

       <B>graph</B>          A 2D plotting widget.  Plots two variable data in a win-
                      dow with an optional legend and annotations.   It has of
                      several  components; coordinate axes, crosshairs, a leg-
                      end, and a collection of elements and tags.

       <B>barchart</B>       A barchart widget.  Plots two-variable data as rectangu-
                      lar bars in a window.  The x-coordinate values designate
                      the position of the bar along the x-axis, while  the  y-
                      coordinate values designate the magnitude.  The <B>barchart</B>
                      widget  has  of  several  components;  coordinate  axes,
                      crosshairs,  a  legend, and a collection of elements and
                      tags.

       <B>vector</B>         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.


</PRE>
<H2>ADDING BLT TO YOUR APPLICATIONS</H2><PRE>
       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.

       if (Tkblt_Init(interp) != TCL_OK) {

           return TCL_ERROR;

       }

       Recompile and link with the tkblt library and that's it.

       Alternately, you can dynamically load tkblt,  simply  by  invoking  the
       command

       % package require tkblt

       from your Tcl script.


</PRE>
<H2>BUGS</H2><PRE>
       Send bug reports, requests, suggestions, etc. to wjoye@cfa.harvard.edu


</PRE>
<H2>KEYWORDS</H2><PRE>
       BLT

</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>