home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / tcl / tk3.3b1 / doc / tkvars.n < prev    next >
Encoding:
Text File  |  1993-06-18  |  3.3 KB  |  85 lines

  1. '\"
  2. '\" Copyright (c) 1990 The Regents of the University of California.
  3. '\" All rights reserved.
  4. '\"
  5. '\" Permission is hereby granted, without written agreement and without
  6. '\" license or royalty fees, to use, copy, modify, and distribute this
  7. '\" documentation for any purpose, provided that the above copyright
  8. '\" notice and the following two paragraphs appear in all copies.
  9. '\"
  10. '\" IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
  11. '\" FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
  12. '\" ARISING OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
  13. '\" CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  14. '\"
  15. '\" THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
  16. '\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
  17. '\" AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
  18. '\" ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
  19. '\" PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
  20. '\" 
  21. '\" $Header: /user6/ouster/wish/man/RCS/tkvars.n,v 1.9 93/06/18 14:06:51 ouster Exp $ SPRITE (Berkeley)
  22. '/" 
  23. .so man.macros
  24. .HS tkvars tk 3.3
  25. .BS
  26. '\" Note:  do not modify the .SH NAME line immediately below!
  27. .SH NAME
  28. tkvars \- Variables used or set by Tk
  29. .BE
  30.  
  31. .SH DESCRIPTION
  32. .PP
  33. The following Tcl variables are either set or used by Tk at various times
  34. in its execution:
  35. .TP 15
  36. \fBtk_library\fR
  37. Tk sets this variable hold the name of a directory containing a library
  38. of Tcl scripts related to Tk.  These scripts include an initialization
  39. file that is normally processed whenever a Tk application starts up,
  40. plus other files containing procedures that implement default behaviors
  41. for widgets.
  42. .VS
  43. The value of this variable is taken from the TK_LIBRARY environment
  44. variable, if one exists, or else from a default value compiled into
  45. Tk.
  46. .VE
  47. .TP
  48. \fBtk_patchLevel\fR
  49. .VS
  50. Contains a decimal integer giving the current patch level for Tk.
  51. The patch level is incremented for each new release or patch, and
  52. it uniquely identifies an official version of Tk.
  53. .VE
  54. .TP
  55. \fBtk_priv\fR
  56. This variable is an array containing several pieces of information
  57. that are private to Tk.  The elements of \fBtk_priv\fR are used by
  58. Tk library procedures and default bindings.
  59. They should not be accessed by any code outside Tk.
  60. .TP
  61. \fBtk_strictMotif\fR
  62. This variable is set to zero by default.
  63. If an application sets it to one, then Tk attempts to adhere as
  64. closely as possible to Motif look-and-feel standards.
  65. For example, active elements such as buttons and scrollbar
  66. sliders will not change color when the pointer passes over them.
  67. .TP 15
  68. \fBtk_version\fR
  69. Tk sets this variable in the interpreter for each application.
  70. The variable holds the current version number of the Tk
  71. library in the form \fImajor\fR.\fIminor\fR.  \fIMajor\fR and
  72. \fIminor\fR are integers.  The major version number increases in
  73. any Tk release that includes changes that are not backward compatible
  74. (i.e. whenever existing Tk applications and scripts may have to change to
  75. work with the new release).  The minor version number increases with
  76. each new release of Tk, except that it resets to zero whenever the
  77. major version number changes.
  78. .TP 15
  79. \fBtkVersion\fR
  80. Has the same value as \fBtk_version\fR.  This variable is obsolete and
  81. will be deleted soon.
  82.  
  83. .SH KEYWORDS
  84. variables, version
  85.