.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "tkvars 3" .TH tkvars 3 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Tk::tkvars \- Variables used or set by Tk .SH DESCRIPTION .IX Header "DESCRIPTION" 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 perlvar.) .ie n .IP \fR\fB$Tk::library\fR\fB\fR 4 .el .IP \fR\f(CB$Tk::library\fR\fB\fR 4 .IX Item "$Tk::library" 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 \fR\f(CB$Tk::library\fR\fB\fR 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 \fITk.pm\fR, or the first directory \fITk\fR in \f(CW@INC\fR. .Sp The \fBTK_LIBRARY\fR environment variable used by Tcl/Tk is not supported by perl/Tk. Please use \f(CW@INC\fR to change where modules are searched. .Sp \&\fBNote:\fR This is Tcl remnant. With perl it makes more sense to use \f(CW@INC\fR and \f(CW%INC\fR). .ie n .IP \fR\fB$Tk::patchLevel\fR\fB\fR 4 .el .IP \fR\f(CB$Tk::patchLevel\fR\fB\fR 4 .IX Item "$Tk::patchLevel" 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. .Sp \&\fBNote:\fR this is Tcl remnant. With perl it makes more sense to use \fR\f(CB$Tk::VERSION\fR\fB\fR described below. .ie n .IP \fR\fB$Tk::strictMotif\fR\fB\fR 4 .el .IP \fR\f(CB$Tk::strictMotif\fR\fB\fR 4 .IX Item "$Tk::strictMotif" 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. .ie n .IP \fR\fB$Tk::VERSION\fR\fB\fR 4 .el .IP \fR\f(CB$Tk::VERSION\fR\fB\fR 4 .IX Item "$Tk::VERSION" The variable holds the current version number of the perl/Tk release in the form \fImajor\fR.\fIminor\fR. \fIMajor\fR and \&\fIminor\fR are integers. .Sp The \fImajor\fR version number shows on which Tcl/Tk release perl/Tk is based. E.g., \fB402\fR means based on Tcls Tk 4.2. (Patchlevel of Tcls Tk are not incorporated because perl/Tk tended to be ``\fIahead\fR'' 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). .Sp The \fIminor\fR version depends on perl/Tk only. It uses the \&'even'='stable', 'odd'='experimental' scheme that linux uses: .Sp .Vb 6 \& .0xx \- inherently \*(Aqalpha\*(Aq \& .1xx \- experimental \*(Aqbeta\*(Aq \& .2xx \- stable \& .3xx \- experimental \& .4xx \- stable \& ... .Ve .Sp The minor version number increases with each new release of Tk, except that it resets to zero whenever the major version number changes. .ie n .IP \fR\fB$Tk::version\fR\fB\fR 4 .el .IP \fR\f(CB$Tk::version\fR\fB\fR 4 .IX Item "$Tk::version" The variable holds the current version number of the Tk library in the form \fImajor\fR.\fIminor\fR. \fIMajor\fR and \&\fIminor\fR 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. .Sp \&\fBNote:\fR this is Tcl remnant. With perl it makes more sense to use \fR\f(CB$Tk::VERSION\fR\fB\fR described above. .SH KEYWORDS .IX Header "KEYWORDS" variables, version