Tk Library Source Code

Check-in [08594080f4]
Login
Bounty program for improvements to Tcl and certain Tcl packages.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment: * pkgIndex.tcl: Bumped the version number to 3.10. * mentry.tcl: * mentry_tile.tcl: * COPYRIGHT.txt: * README.txt:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 08594080f4868ac4519eaa09b12ba70c26178238a63b4acf1b2b6abf474263cc
User & Date: csaba 2019-10-21 13:26:07
Context
2019-10-21
13:26
* mentryPublic.tcl: Bumped the version number to 3.10; no longer creating aliases in the "::tk" namespace for Tk commands for which that namespace already contains a command of the same name. check-in: 1d92071429 user: csaba tags: trunk
13:26
* pkgIndex.tcl: Bumped the version number to 3.10. * mentry.tcl: * mentry_tile.tcl: * COPYRIGHT.txt: * README.txt: check-in: 08594080f4 user: csaba tags: trunk
13:25
* pkgIndex.tcl: Bumped the version number to 3.10. * mentry.tcl: * mentry_tile.tcl: * COPYRIGHT.txt: * README.txt: * mentryPublic.tcl: Bumped the version number to 3.10; no longer creating aliases in the "::tk" namespace for Tk commands for which that namespace already contains a command of the same name. * CHANGES.txt: Updated to reflect the changes. * scripts/mwutil.tcl: Updated to the same version 2.15 as in Tablelist release 6.7. * scripts/tclIndex: Newly generated. * doc/stylesheet.css: Updated. * doc/*.html: Bumped the version number to 3.10; various improvements. check-in: 82b54be324 user: csaba tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to modules/mentry/COPYRIGHT.txt.

1
2
3
4
5
6
7
8
9
10
Multi-entry widget package Mentry, version 3.9
Copyright (c) 1999-2019  Csaba Nemethi (E-mail: [email protected])

This library is free software; you can use, modify, and redistribute it
for any purpose, provided that existing copyright notices are retained
in all copies and that this notice is included verbatim in any
distributions.

This software is distributed WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|









1
2
3
4
5
6
7
8
9
10
Multi-entry widget package Mentry, version 3.10
Copyright (c) 1999-2019  Csaba Nemethi (E-mail: [email protected])

This library is free software; you can use, modify, and redistribute it
for any purpose, provided that existing copyright notices are retained
in all copies and that this notice is included verbatim in any
distributions.

This software is distributed WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Changes to modules/mentry/README.txt.

50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
..
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
    http://www.nemethi.de

How to Get It?
--------------

Mentry is available for free download from the same URL as Wcb.  The
distribution file is "mentry3.9.tar.gz" for UNIX and "mentry3_9.zip"
for Windows.  These files contain the same information, except for the
additional carriage return character preceding the linefeed at the end
of each line in the text files for Windows.

Mentry is also included in tklib, which has the address

    http://core.tcl.tk/tklib
................................................................................
Install the package as a subdirectory of one of the directories given
by the "auto_path" variable.  For example, you can install it as a
directory at the same level as the Tcl and Tk script libraries.  The
locations of these library directories are given by the "tcl_library"
and "tk_library" variables, respectively.

To install Mentry on UNIX, "cd" to the desired directory and unpack the
distribution file "mentry3.9.tar.gz":

    gunzip -c mentry3.9.tar.gz | tar -xf -

On most UNIX systems this can be replaced with

    tar -zxf mentry3.9.tar.gz

Both commands will create a directory named "mentry3.9", with the
subdirectories "demos", "doc", and "scripts".

On Windows, use WinZip or some other program capable of unpacking the
distribution file "mentry3_9.zip" into the directory "mentry3.9", with
the subdirectories "demos", "doc", and "scripts".

The file "mentryThemes.tcl" in the "scripts" directory is only needed
for applications using the package Mentry_tile (see next section).

How to Use It?
--------------






|







 







|

|



|

|



|







50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
..
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
    http://www.nemethi.de

How to Get It?
--------------

Mentry is available for free download from the same URL as Wcb.  The
distribution file is "mentry3.10.tar.gz" for UNIX and "mentry3_10.zip"
for Windows.  These files contain the same information, except for the
additional carriage return character preceding the linefeed at the end
of each line in the text files for Windows.

Mentry is also included in tklib, which has the address

    http://core.tcl.tk/tklib
................................................................................
Install the package as a subdirectory of one of the directories given
by the "auto_path" variable.  For example, you can install it as a
directory at the same level as the Tcl and Tk script libraries.  The
locations of these library directories are given by the "tcl_library"
and "tk_library" variables, respectively.

To install Mentry on UNIX, "cd" to the desired directory and unpack the
distribution file "mentry3.10.tar.gz":

    gunzip -c mentry3.10.tar.gz | tar -xf -

On most UNIX systems this can be replaced with

    tar -zxf mentry3.10.tar.gz

Both commands will create a directory named "mentry3.10", with the
subdirectories "demos", "doc", and "scripts".

On Windows, use WinZip or some other program capable of unpacking the
distribution file "mentry3_10.zip" into the directory "mentry3.10", with
the subdirectories "demos", "doc", and "scripts".

The file "mentryThemes.tcl" in the "scripts" directory is only needed
for applications using the package Mentry_tile (see next section).

How to Use It?
--------------

Changes to modules/mentry/mentry.tcl.

1
2
3
4
5
6
7
8
9
10
11
12
13
#==============================================================================
# Main Mentry package module.
#
# Copyright (c) 1999-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require -exact mentry::common 3.9

package provide mentry $::mentry::version
package provide Mentry $::mentry::version

::mentry::useTile 0
::mentry::createBindings





|






1
2
3
4
5
6
7
8
9
10
11
12
13
#==============================================================================
# Main Mentry package module.
#
# Copyright (c) 1999-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require -exact mentry::common 3.10

package provide mentry $::mentry::version
package provide Mentry $::mentry::version

::mentry::useTile 0
::mentry::createBindings

Changes to modules/mentry/mentry_tile.tcl.

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright (c) 1999-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require Tk 8.4
if {$::tk_version < 8.5 || [regexp {^8\.5a[1-5]$} $::tk_patchLevel]} {
    package require tile 0.6
}
package require -exact mentry::common 3.9

package provide mentry_tile $::mentry::version
package provide Mentry_tile $::mentry::version

::mentry::useTile 1
::mentry::createBindings

namespace eval ::mentry {
    #
    # Commands related to tile themes:
    #
    namespace export	getThemes getCurrentTheme setTheme setThemeDefaults
}






|













4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright (c) 1999-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require Tk 8.4
if {$::tk_version < 8.5 || [regexp {^8\.5a[1-5]$} $::tk_patchLevel]} {
    package require tile 0.6
}
package require -exact mentry::common 3.10

package provide mentry_tile $::mentry::version
package provide Mentry_tile $::mentry::version

::mentry::useTile 1
::mentry::createBindings

namespace eval ::mentry {
    #
    # Commands related to tile themes:
    #
    namespace export	getThemes getCurrentTheme setTheme setThemeDefaults
}

Changes to modules/mentry/pkgIndex.tcl.

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# Copyright (c) 1999-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

#
# Regular packages:
#
package ifneeded mentry         3.9 \
	[list source [file join $dir mentry.tcl]]
package ifneeded mentry_tile    3.9 \
	[list source [file join $dir mentry_tile.tcl]]

#
# Aliases:
#
package ifneeded Mentry         3.9 \
	[list package require -exact mentry      3.9]
package ifneeded Mentry_tile    3.9 \
	[list package require -exact mentry_tile 3.9]

#
# Code common to all packages:
#
package ifneeded mentry::common 3.9 \
	"namespace eval ::mentry { proc DIR {} {return [list $dir]} } ;\
	 source [list [file join $dir mentryPublic.tcl]]"






|

|





|
|
|
|




|


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# Copyright (c) 1999-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

#
# Regular packages:
#
package ifneeded mentry         3.10 \
	[list source [file join $dir mentry.tcl]]
package ifneeded mentry_tile    3.10 \
	[list source [file join $dir mentry_tile.tcl]]

#
# Aliases:
#
package ifneeded Mentry         3.10 \
	[list package require -exact mentry      3.10]
package ifneeded Mentry_tile    3.10 \
	[list package require -exact mentry_tile 3.10]

#
# Code common to all packages:
#
package ifneeded mentry::common 3.10 \
	"namespace eval ::mentry { proc DIR {} {return [list $dir]} } ;\
	 source [list [file join $dir mentryPublic.tcl]]"