1tkvars(3)             User Contributed Perl Documentation            tkvars(3)
2
3
4

NAME

6       Tk::tkvars - Variables used or set by Tk
7

DESCRIPTION

9       The following perl variables are either set or used by Tk at various
10       times in its execution. (For a list of variables used by perl see
11       perlvar.)
12
13       $Tk::library
14           This variable holds the file name for a directory containing the
15           modules related to Tk.  These modules include an initialization
16           file that is normally processed whenever a Tk application starts
17           up, plus other files containing procedures that implement default
18           behaviors for widgets.  The initial value of $Tk::library is set
19           when Tk is added to an interpreter;  this is done by searching
20           searching for a directory named Tk in the directory where the file
21           Tk.pm, or the first directory Tk in @INC.
22
23           The TK_LIBRARY environment variable used by Tcl/Tk is not supported
24           by perl/Tk.  Please use @INC to change where modules are searched.
25
26           Note: This is Tcl remnant. With perl it makes more sense to use
27           @INC and %INC).
28
29       $Tk::patchLevel
30           Contains a decimal integer giving the current patch level for Tk.
31           The patch level is incremented for each new release or patch, and
32           it uniquely identifies an official version of Tk.
33
34           Note: this is Tcl remnant. With perl it makes more sense to use
35           $Tk::VERSION described below.
36
37       $Tk::strictMotif
38           This variable is set to zero by default.  If an application sets it
39           to one, then Tk attempts to adhere as closely as possible to Motif
40           look-and-feel standards.  For example, active elements such as
41           buttons and scrollbar sliders will not change color when the
42           pointer passes over them.
43
44       $Tk::VERSION
45           The variable holds the current version number of the perl/Tk
46           release in the form major.minor.  Major and minor are integers.
47
48           The major version number shows on which Tcl/Tk release perl/Tk is
49           based.  E.g., 402 means based on Tcls Tk 4.2.  (Patchlevel of Tcls
50           Tk are not incorporated because perl/Tk tended  to be ``ahead'' of
51           them on some fixes and behind on others.  The first digest of the
52           major version number increases in any Tk release that includes
53           changes that are not backward compatible (i.e. whenever existing
54           perl/Tk applications and scripts may have to change to work with
55           the new release).
56
57           The minor version depends on perl/Tk only. It uses the
58           'even'='stable', 'odd'='experimental' scheme that linux uses:
59
60            .0xx  - inherently 'alpha'
61            .1xx  - experimental 'beta'
62            .2xx  - stable
63            .3xx  - experimental
64            .4xx  - stable
65            ...
66
67           The minor version number increases with each new release of Tk,
68           except that it resets to zero whenever the major version number
69           changes.
70
71       $Tk::version
72           The variable holds the current version number of the Tk library in
73           the form major.minor.  Major and minor are integers.  The major
74           version number increases in any Tk release that includes changes
75           that are not backward compatible (i.e. whenever existing Tk
76           applications and scripts may have to change to work with the new
77           release).  The minor version number increases with each new release
78           of Tk, except that it resets to zero whenever the major version
79           number changes.
80
81           Note: this is Tcl remnant.  With perl it makes more sense to use
82           $Tk::VERSION described above.
83

KEYWORDS

85       variables, version
86
87
88
89perl v5.30.0                      2019-07-26                         tkvars(3)
Impressum