home *** CD-ROM | disk | FTP | other *** search
-
- <HTML>
- <HEAD>
- <TITLE>tkvars - Variables used or set by Tk</TITLE>
- <LINK REL="stylesheet" HREF="../../../Active.css" TYPE="text/css">
- <LINK REV="made" HREF="mailto:">
- </HEAD>
-
- <BODY>
- <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
- <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
- <STRONG><P CLASS=block> tkvars - Variables used or set by Tk</P></STRONG>
- </TD></TR>
- </TABLE>
-
- <A NAME="__index__"></A>
- <!-- INDEX BEGIN -->
-
- <UL>
-
- <LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
-
- <LI><A HREF="#description">DESCRIPTION</A></LI>
- <LI><A HREF="#keywords">KEYWORDS</A></LI>
- </UL>
- <!-- INDEX END -->
-
- <HR>
- <P>
- <H1><A NAME="name">NAME</A></H1>
- <P>tkvars - Variables used or set by Tk</P>
- <P>
- <HR>
- <H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
- <UL>
- <LI>Linux</LI>
- <LI>Solaris</LI>
- <LI>Windows</LI>
- </UL>
- <HR>
- <H1><A NAME="description">DESCRIPTION</A></H1>
- <P>The following perl variables are either set or used by Tk at various times
- in its execution. (For a list of variables used by perl see <A HREF="../../../lib/Pod/perlvar.html">the perlvar manpage</A>.)</P>
- <DL>
- <DT><STRONG><A NAME="item_%24Tk%3A%3Alibrary"><STRONG>$Tk::library</STRONG></A></STRONG><BR>
- <DD>
- This variable holds the file name for a directory containing the modules
- related to Tk. These modules include an initialization
- file that is normally processed whenever a Tk application starts up,
- plus other files containing procedures that implement default behaviors
- for widgets.
- The initial value of <STRONG>$Tk::library</STRONG> is set when Tk is added to
- an interpreter; this is done by searching searching for a directory
- named Tk in the directory where the file <EM>Tk.pm</EM>, or the first
- directory <EM>Tk</EM> in <CODE>@INC</CODE>.
- <P>The <STRONG>TK_LIBRARY</STRONG> environment variable used by Tcl/Tk is not
- supported by perl/Tk. Please use <A HREF="../../../lib/Pod/perlvar.html#@inc">@INC</A> to change where modules
- are searched.</P>
- <P><STRONG>Note:</STRONG> This is Tcl remnant. With perl it makes more sense to
- use <CODE>@INC</CODE> and <CODE>%INC</CODE>).</P>
- <P></P>
- <DT><STRONG><A NAME="item_%24Tk%3A%3ApatchLevel"><STRONG>$Tk::patchLevel</STRONG></A></STRONG><BR>
- <DD>
- Contains a decimal integer giving the current patch level for Tk.
- The patch level is incremented for each new release or patch, and
- it uniquely identifies an official version of Tk.
- <P><STRONG>Note:</STRONG> this is Tcl remnant. With perl it makes more sense to
- use <STRONG>$Tk::VERSION</STRONG> described below.</P>
- <P></P>
- <DT><STRONG><A NAME="item_%24Tk%3A%3AstrictMotif"><STRONG>$Tk::strictMotif</STRONG></A></STRONG><BR>
- <DD>
- This variable is set to zero by default.
- If an application sets it to one, then Tk attempts to adhere as
- closely as possible to Motif look-and-feel standards.
- For example, active elements such as buttons and scrollbar
- sliders will not change color when the pointer passes over them.
- <P></P>
- <DT><STRONG><A NAME="item_%24Tk%3A%3AVERSION"><STRONG>$Tk::VERSION</STRONG></A></STRONG><BR>
- <DD>
- The variable holds the current version number of the perl/Tk
- release in the form <EM>major</EM>.<EM>minor</EM>. <EM>Major</EM> and
- <EM>minor</EM> are integers.
- <P>The <EM>major</EM> version number shows on which
- Tcl/Tk release perl/Tk is based. E.g., <STRONG>402</STRONG> means based on
- Tcls Tk 4.2. (Patchlevel of Tcls Tk are not incorporated because
- perl/Tk tended to be ``<EM>ahead</EM>'' of them on some fixes and behind on
- others. The first digest of the major version number increases in
- any Tk release that includes changes that are not backward compatible
- (i.e. whenever existing perl/Tk applications and scripts may have to change to
- work with the new release).</P>
- <P>The <EM>minor</EM> version depends on perl/Tk only. It uses the
- 'even'='stable', 'odd'='experimental' scheme that linux uses:</P>
- <PRE>
- .0xx - inherently 'alpha'
- .1xx - experimental 'beta'
- .2xx - stable
- .3xx - experimental
- .4xx - stable
- ...</PRE>
- <P>The minor version number increases with
- each new release of Tk, except that it resets to zero whenever the
- major version number changes.</P>
- <P></P>
- <DT><STRONG><A NAME="item_%24Tk%3A%3Aversion"><STRONG>$Tk::version</STRONG></A></STRONG><BR>
- <DD>
- The variable holds the current version number of the Tk
- library in the form <EM>major</EM>.<EM>minor</EM>. <EM>Major</EM> and
- <EM>minor</EM> are integers. The major version number increases in
- any Tk release that includes changes that are not backward compatible
- (i.e. whenever existing Tk applications and scripts may have to change to
- work with the new release). The minor version number increases with
- each new release of Tk, except that it resets to zero whenever the
- major version number changes.
- <P><STRONG>Note:</STRONG> this is Tcl remnant. With perl it makes more sense to
- use <STRONG>$Tk::VERSION</STRONG> described above.</P>
- <P></P></DL>
- <P>
- <HR>
- <H1><A NAME="keywords">KEYWORDS</A></H1>
- <P>variables, version</P>
- <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
- <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
- <STRONG><P CLASS=block> tkvars - Variables used or set by Tk</P></STRONG>
- </TD></TR>
- </TABLE>
-
- </BODY>
-
- </HTML>
-