"Fossies" - the Fresh Open Source Software Archive

Member "SAOImageDS9/tkblt/doc/BLT.html" (13 Nov 2019, 2319 Bytes) of package /linux/misc/ds9.8.1.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the ds9.8.1.tar.gz project site itself.



DESCRIPTION

       BLT is a library of extensions to the Tk library.  It adds new commands
       and variables to the application's interpreter.



COMMANDS

       The following commands are  added  to  the  interpreter  from  the  BLT
       library:

       graph          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.

       barchart       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 barchart
                      widget  has  of  several  components;  coordinate  axes,
                      crosshairs,  a  legend, and a collection of elements and
                      tags.

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


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.

       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.


BUGS

       Send bug reports, requests, suggestions, etc. to wjoye@cfa.harvard.edu


KEYWORDS

       BLT


Man(1) output converted with man2html