Tk Library Source Code
Check-in [c04ab4bce7]
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.

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

Overview
Comment: * *.tcl: Bumped the version number to 5.18. * COPYRIGHT.txt: * README.txt:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c04ab4bce7f4ce950f991f6ca96bdc0db307aaa5
User & Date: csaba 2017-06-23 19:24:39
Context
2017-06-23
19:25
* CHANGES.txt: Updated to reflect the changes. check-in: 691b136407 user: csaba tags: trunk
19:24
* *.tcl: Bumped the version number to 5.18. * COPYRIGHT.txt: * README.txt: check-in: c04ab4bce7 user: csaba tags: trunk
19:23
* *.tcl: Bumped the version number to 5.18. * COPYRIGHT.txt: * README.txt: * CHANGES.txt: Updated to reflect the changes. * scripts/*.tcl: Improved the performance of the vertical scrolling; added the "-displayondemand" configuration option; added the "tablelist::delaySashPosUpdates" command; added support for the themes "Arc" and "clearlooks"; updated the support for a few other themes; fixed a bug related to retrieving the current cell selection; numerous further improvements. * scripts/tclIndex: Newly generated. * doc/*.html: Updated to reflect the changes; more on the "-formatcommand" column configuration option in connection with "-sortmode integer|real"; minor improvements. * doc/browse.png: Updated screenshots. * doc/browseTree.png: * doc/bwidget.png: * doc/config.png: * doc/dirViewer.png: * doc/embeddedWindows.png: * doc/embeddedWindows_tile.png: * doc/tileWidgets.png: * ../../examples/*.tcl: Bumped the version number to 5.18; minor improvements. check-in: 81f31de920 user: csaba tags: trunk
Changes
Side-by-Side Diff Ignore Whitespace Patch
Changes to modules/tablelist/COPYRIGHT.txt.
1

2
3
4
5
6
7
8

1
2
3
4
5
6
7
8
-
+







Multi-column listbox and tree widget package Tablelist, version 5.17
Multi-column listbox and tree widget package Tablelist, version 5.18
Copyright (c) 2000-2017  Csaba Nemethi (E-mail: csaba.nemethi@t-online.de)

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.

Changes to modules/tablelist/README.txt.
84
85
86
87
88
89
90
91
92


93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111

112
113

114
115

116
117
118
119
120


121
122
123
124
125
126
127
84
85
86
87
88
89
90


91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110

111
112

113
114

115
116
117
118


119
120
121
122
123
124
125
126
127







-
-
+
+


















-
+

-
+

-
+



-
-
+
+








    http://www.nemethi.de

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

Tablelist is available for free download from the same URL as Wcb.  The
distribution file is "tablelist5.17.tar.gz" for UNIX and
"tablelist5_17.zip" for Windows.  These files contain the same
distribution file is "tablelist5.18.tar.gz" for UNIX and
"tablelist5_18.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.

Tablelist is also included in tklib, which has the address

    http://core.tcl.tk/tklib

How to Install It?
------------------

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 Tablelist on UNIX, "cd" to the desired directory and unpack
the distribution file "tablelist5.17.tar.gz":
the distribution file "tablelist5.18.tar.gz":

    gunzip -c tablelist5.17.tar.gz | tar -xf -
    gunzip -c tablelist5.18.tar.gz | tar -xf -

This command will create a directory named "tablelist5.17", with the
This command will create a directory named "tablelist5.18", with the
subdirectories "demos", "doc", and "scripts".

On Windows, use WinZip or some other program capable of unpacking the
distribution file "tablelist5_17.zip" into the directory
"tablelist5.17", with the subdirectories "demos", "doc", and "scripts".
distribution file "tablelist5_18.zip" into the directory
"tablelist5.18", with the subdirectories "demos", "doc", and "scripts".

The file "tablelistEdit.tcl" in the "scripts" directory is only needed
for applications making use of interactive cell editing.  Similarly, the
file "tablelistMove.tcl" in the same directory is only required for
scripts invoking the "move" or "movecolumn" tablelist command.  Finally,
the file "tablelistThemes.tcl" is only needed for applications using
the package Tablelist_tile (see next section).
Changes to modules/tablelist/pkgIndex.tcl.
1
2
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
1
2
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









-
+

-
+





-
-
-
-
+
+
+
+




-
+


#==============================================================================
# Tablelist and Tablelist_tile package index file.
#
# Copyright (c) 2000-2017  Csaba Nemethi (E-mail: csaba.nemethi@t-online.de)
#==============================================================================

#
# Regular packages:
#
package ifneeded tablelist         5.17 \
package ifneeded tablelist         5.18 \
	[list source [file join $dir tablelist.tcl]]
package ifneeded tablelist_tile    5.17 \
package ifneeded tablelist_tile    5.18 \
	[list source [file join $dir tablelist_tile.tcl]]

#
# Aliases:
#
package ifneeded Tablelist         5.17 \
	[list package require -exact tablelist	    5.17]
package ifneeded Tablelist_tile    5.17 \
	[list package require -exact tablelist_tile 5.17]
package ifneeded Tablelist         5.18 \
	[list package require -exact tablelist	    5.18]
package ifneeded Tablelist_tile    5.18 \
	[list package require -exact tablelist_tile 5.18]

#
# Code common to all packages:
#
package ifneeded tablelist::common 5.17 \
package ifneeded tablelist::common 5.18 \
        "namespace eval ::tablelist { proc DIR {} {return [list $dir]} } ;\
	 source [list [file join $dir tablelistPublic.tcl]]"
Changes to modules/tablelist/tablelist.tcl.
1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
1
2
3
4
5
6
7
8

9
10
11
12
13
14
15








-
+






#==============================================================================
# Main Tablelist package module.
#
# Copyright (c) 2000-2017  Csaba Nemethi (E-mail: csaba.nemethi@t-online.de)
#==============================================================================

package require Tcl 8
package require Tk  8
package require -exact tablelist::common 5.17
package require -exact tablelist::common 5.18

package provide tablelist $::tablelist::version
package provide Tablelist $::tablelist::version

::tablelist::useTile 0
::tablelist::createBindings
Changes to modules/tablelist/tablelistPublic.tcl.
20
21
22
23
24
25
26
27

28
29
30
31
32
33
34
20
21
22
23
24
25
26

27
28
29
30
31
32
33
34







-
+







	    return 200
	}
    }

    #
    # Public variables:
    #
    variable version	5.17
    variable version	5.18
    variable library
    if {$tcl_version >= 8.4} {
	set library	[file normalize [DIR]]
    } else {
	set library	[DIR]			;# no "file normalize" yet
    }
    variable scalingpct	[scalingPercentage]
Changes to modules/tablelist/tablelist_tile.tcl.
1
2
3
4
5
6
7
8
9
10
11
12

13
14
15
16
17
18
19
1
2
3
4
5
6
7
8
9
10
11

12
13
14
15
16
17
18
19











-
+







#==============================================================================
# Main Tablelist_tile package module.
#
# Copyright (c) 2000-2017  Csaba Nemethi (E-mail: csaba.nemethi@t-online.de)
#==============================================================================

package require Tcl 8.4
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 tablelist::common 5.17
package require -exact tablelist::common 5.18

package provide tablelist_tile $::tablelist::version
package provide Tablelist_tile $::tablelist::version

::tablelist::useTile 1
::tablelist::createBindings