home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / Chip_2000-05_cd1.bin / zkuste / Perl / ActivePerl-5.6.0.613.msi / 䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥 / _4ea159999a2f18c4d297e9d4ce81c096 < prev    next >
Text File  |  2000-03-23  |  5KB  |  130 lines

  1.  
  2. <HTML>
  3. <HEAD>
  4. <TITLE>tkvars - Variables used or set by Tk</TITLE>
  5. <LINK REL="stylesheet" HREF="../../../Active.css" TYPE="text/css">
  6. <LINK REV="made" HREF="mailto:">
  7. </HEAD>
  8.  
  9. <BODY>
  10. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  11. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  12. <STRONG><P CLASS=block> tkvars - Variables used or set by Tk</P></STRONG>
  13. </TD></TR>
  14. </TABLE>
  15.  
  16. <A NAME="__index__"></A>
  17. <!-- INDEX BEGIN -->
  18.  
  19. <UL>
  20.  
  21.     <LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
  22.  
  23.     <LI><A HREF="#description">DESCRIPTION</A></LI>
  24.     <LI><A HREF="#keywords">KEYWORDS</A></LI>
  25. </UL>
  26. <!-- INDEX END -->
  27.  
  28. <HR>
  29. <P>
  30. <H1><A NAME="name">NAME</A></H1>
  31. <P>tkvars - Variables used or set by Tk</P>
  32. <P>
  33. <HR>
  34. <H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
  35. <UL>
  36. <LI>Linux</LI>
  37. <LI>Solaris</LI>
  38. <LI>Windows</LI>
  39. </UL>
  40. <HR>
  41. <H1><A NAME="description">DESCRIPTION</A></H1>
  42. <P>The following perl variables are either set or used by Tk at various times
  43. in its execution. (For a list of variables used by perl see <A HREF="../../../lib/Pod/perlvar.html">the perlvar manpage</A>.)</P>
  44. <DL>
  45. <DT><STRONG><A NAME="item_%24Tk%3A%3Alibrary"><STRONG>$Tk::library</STRONG></A></STRONG><BR>
  46. <DD>
  47. This variable holds the file name for a directory containing the modules
  48. related to Tk.  These modules include an initialization
  49. file that is normally processed whenever a Tk application starts up,
  50. plus other files containing procedures that implement default behaviors
  51. for widgets.
  52. The initial value of <STRONG>$Tk::library</STRONG> is set when Tk is added to
  53. an interpreter;  this is done by searching searching for a directory
  54. named Tk in the directory where the file <EM>Tk.pm</EM>, or the first
  55. directory <EM>Tk</EM> in <CODE>@INC</CODE>.
  56. <P>The <STRONG>TK_LIBRARY</STRONG> environment variable used by Tcl/Tk is not
  57. supported by perl/Tk.  Please use <A HREF="../../../lib/Pod/perlvar.html#@inc">@INC</A> to change where modules
  58. are searched.</P>
  59. <P><STRONG>Note:</STRONG> This is Tcl remnant. With perl it makes more sense to
  60. use <CODE>@INC</CODE> and <CODE>%INC</CODE>).</P>
  61. <P></P>
  62. <DT><STRONG><A NAME="item_%24Tk%3A%3ApatchLevel"><STRONG>$Tk::patchLevel</STRONG></A></STRONG><BR>
  63. <DD>
  64. Contains a decimal integer giving the current patch level for Tk.
  65. The patch level is incremented for each new release or patch, and
  66. it uniquely identifies an official version of Tk.
  67. <P><STRONG>Note:</STRONG> this is Tcl remnant. With perl it makes more sense to
  68. use <STRONG>$Tk::VERSION</STRONG> described below.</P>
  69. <P></P>
  70. <DT><STRONG><A NAME="item_%24Tk%3A%3AstrictMotif"><STRONG>$Tk::strictMotif</STRONG></A></STRONG><BR>
  71. <DD>
  72. This variable is set to zero by default.
  73. If an application sets it to one, then Tk attempts to adhere as
  74. closely as possible to Motif look-and-feel standards.
  75. For example, active elements such as buttons and scrollbar
  76. sliders will not change color when the pointer passes over them.
  77. <P></P>
  78. <DT><STRONG><A NAME="item_%24Tk%3A%3AVERSION"><STRONG>$Tk::VERSION</STRONG></A></STRONG><BR>
  79. <DD>
  80. The variable holds the current version number of the perl/Tk
  81. release in the form <EM>major</EM>.<EM>minor</EM>.  <EM>Major</EM> and
  82. <EM>minor</EM> are integers.
  83. <P>The <EM>major</EM> version number shows on which
  84. Tcl/Tk release perl/Tk is based.  E.g., <STRONG>402</STRONG> means based on
  85. Tcls Tk 4.2.  (Patchlevel of Tcls Tk are not incorporated because
  86. perl/Tk tended  to be ``<EM>ahead</EM>'' of them on some fixes and behind on
  87. others.  The first digest of the major version number increases in
  88. any Tk release that includes changes that are not backward compatible
  89. (i.e. whenever existing perl/Tk applications and scripts may have to change to
  90. work with the new release).</P>
  91. <P>The <EM>minor</EM> version depends on perl/Tk only. It uses the
  92. 'even'='stable', 'odd'='experimental' scheme that linux uses:</P>
  93. <PRE>
  94.  .0xx  - inherently 'alpha'
  95.  .1xx  - experimental 'beta'
  96.  .2xx  - stable
  97.  .3xx  - experimental
  98.  .4xx  - stable
  99.  ...</PRE>
  100. <P>The minor version number increases with
  101. each new release of Tk, except that it resets to zero whenever the
  102. major version number changes.</P>
  103. <P></P>
  104. <DT><STRONG><A NAME="item_%24Tk%3A%3Aversion"><STRONG>$Tk::version</STRONG></A></STRONG><BR>
  105. <DD>
  106. The variable holds the current version number of the Tk
  107. library in the form <EM>major</EM>.<EM>minor</EM>.  <EM>Major</EM> and
  108. <EM>minor</EM> are integers.  The major version number increases in
  109. any Tk release that includes changes that are not backward compatible
  110. (i.e. whenever existing Tk applications and scripts may have to change to
  111. work with the new release).  The minor version number increases with
  112. each new release of Tk, except that it resets to zero whenever the
  113. major version number changes.
  114. <P><STRONG>Note:</STRONG> this is Tcl remnant.  With perl it makes more sense to
  115. use <STRONG>$Tk::VERSION</STRONG> described above.</P>
  116. <P></P></DL>
  117. <P>
  118. <HR>
  119. <H1><A NAME="keywords">KEYWORDS</A></H1>
  120. <P>variables, version</P>
  121. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  122. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  123. <STRONG><P CLASS=block> tkvars - Variables used or set by Tk</P></STRONG>
  124. </TD></TR>
  125. </TABLE>
  126.  
  127. </BODY>
  128.  
  129. </HTML>
  130.