Tk Library Source Code

Check-in [4c96acabfd]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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

Overview
Comment: * *.tcl: Bumped the version number to 6.6. * COPYRIGHT.txt: * README.txt: * ../../examples/tablelist/*.tcl:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4c96acabfd861ccf70832bd5a849c8dc93a65db102bac02258e448771688cc03
User & Date: csaba 2019-07-06 17:42:59
Context
2019-07-06
17:44
* CHANGES.txt: Updated to reflect the changes. check-in: a75f6e044b user: csaba tags: trunk
17:42
* *.tcl: Bumped the version number to 6.6. * COPYRIGHT.txt: * README.txt: * ../../examples/tablelist/*.tcl: check-in: 4c96acabfd user: csaba tags: trunk
17:40
* *.tcl: Bumped the version number to 6.6. * COPYRIGHT.txt: * README.txt: * ../../examples/tablelist/*.tcl: * CHANGES.txt: Updated to reflect the changes. * scripts/*.tcl: Added mouse bindings for column-wise cell selection; new "-selectfiltercommand" widget and column configuration option; improved the interactive editing of multi-line cells; updated the tree style "adwaita"; eliminated the flickering in the presence of header items; fixed a bug related to the error handling in the tablelist configuration at widget creation time in the presence of the "-columntitles" option; several further improvements and minor bug fixes. * scripts/tclIndex: Newly generated. * doc/*.html: Updated to reflect the changes; improved and extended the description of the "-height" option in the reference manual; added references to the new Scrollutil package and an example showing how the scrollutil::scrollarea widget can be used to make the creation of a scrolled tablelist quite simple. * doc/adwaita.png: Updated screenshots. * doc/arrowStyles_vista.png: check-in: 2f55658c7e user: csaba tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to examples/tablelist/browse.tcl.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#==============================================================================
# Demonstrates how to use a tablelist widget for displaying information about
# the children of an arbitrary widget.
#
# Copyright (c) 2000-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist 6.5

namespace eval demo {
    variable dir [file dirname [info script]]

    #
    # Create two images, needed in the procedure putChildren
    #






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#==============================================================================
# Demonstrates how to use a tablelist widget for displaying information about
# the children of an arbitrary widget.
#
# Copyright (c) 2000-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist 6.6

namespace eval demo {
    variable dir [file dirname [info script]]

    #
    # Create two images, needed in the procedure putChildren
    #

Changes to examples/tablelist/browseTree.tcl.

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Demonstrates how to use a tablelist widget for displaying information about
# the children of an arbitrary widget.
#
# Copyright (c) 2010-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require Tk 8.3
package require tablelist 6.5

namespace eval demo {
    variable dir [file dirname [info script]]

    #
    # Create two images, needed in the procedure putChildren
    #






|







2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Demonstrates how to use a tablelist widget for displaying information about
# the children of an arbitrary widget.
#
# Copyright (c) 2010-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require Tk 8.3
package require tablelist 6.6

namespace eval demo {
    variable dir [file dirname [info script]]

    #
    # Create two images, needed in the procedure putChildren
    #

Changes to examples/tablelist/browseTree_tile.tcl.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#==============================================================================
# Demonstrates how to use a tablelist widget for displaying information about
# the children of an arbitrary widget.
#
# Copyright (c) 2010-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.5

namespace eval demo {
    variable dir [file dirname [info script]]

    #
    # Create two images, needed in the procedure putChildren
    #






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#==============================================================================
# Demonstrates how to use a tablelist widget for displaying information about
# the children of an arbitrary widget.
#
# Copyright (c) 2010-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.6

namespace eval demo {
    variable dir [file dirname [info script]]

    #
    # Create two images, needed in the procedure putChildren
    #

Changes to examples/tablelist/browse_tile.tcl.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#==============================================================================
# Demonstrates how to use a tablelist widget for displaying information about
# children of an arbitrary widget.
#
# Copyright (c) 2000-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.5

namespace eval demo {
    variable dir [file dirname [info script]]

    #
    # Create two images, needed in the procedure putChildren
    #






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#==============================================================================
# Demonstrates how to use a tablelist widget for displaying information about
# children of an arbitrary widget.
#
# Copyright (c) 2000-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.6

namespace eval demo {
    variable dir [file dirname [info script]]

    #
    # Create two images, needed in the procedure putChildren
    #

Changes to examples/tablelist/bwidget.tcl.

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# widgets from the BWidget package and of the Tk core checkbutton and
# menubutton widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require Tk 8.4				;# because of "-compound"
package require tablelist 6.5
package require BWidget

wm title . "Serial Line Configuration"

#
# Add some entries to the Tk option database
#






|







5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# widgets from the BWidget package and of the Tk core checkbutton and
# menubutton widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require Tk 8.4				;# because of "-compound"
package require tablelist 6.6
package require BWidget

wm title . "Serial Line Configuration"

#
# Add some entries to the Tk option database
#

Changes to examples/tablelist/bwidget_tile.tcl.

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Demonstrates the interactive tablelist cell editing with the aid of some
# widgets from the BWidget package and of the Tk core checkbutton and
# menubutton widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.5
package require BWidget

wm title . "Serial Line Configuration"

#
# Add some entries to the Tk option database
#






|







4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Demonstrates the interactive tablelist cell editing with the aid of some
# widgets from the BWidget package and of the Tk core checkbutton and
# menubutton widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.6
package require BWidget

wm title . "Serial Line Configuration"

#
# Add some entries to the Tk option database
#

Changes to examples/tablelist/config.tcl.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#==============================================================================
# Demonstrates how to use a tablelist widget for displaying and editing the
# configuration options of an arbitrary widget.
#
# Copyright (c) 2000-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist 6.5

namespace eval demo {
    #
    # Get the current windowing system ("x11", "win32", "classic", or "aqua")
    # and add some entries to the Tk option database for the following
    # widget hierarchy within a toplevel widget of the class DemoTop:
    #






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#==============================================================================
# Demonstrates how to use a tablelist widget for displaying and editing the
# configuration options of an arbitrary widget.
#
# Copyright (c) 2000-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist 6.6

namespace eval demo {
    #
    # Get the current windowing system ("x11", "win32", "classic", or "aqua")
    # and add some entries to the Tk option database for the following
    # widget hierarchy within a toplevel widget of the class DemoTop:
    #

Changes to examples/tablelist/config_tile.tcl.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#==============================================================================
# Demonstrates how to use a tablelist widget for displaying and editing the
# configuration options of an arbitrary widget.
#
# Copyright (c) 2000-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.5

namespace eval demo {
    #
    # Get the current windowing system ("x11", "win32", or "aqua")
    # and add some entries to the Tk option database for the following
    # widget hierarchy within a toplevel widget of the class DemoTop:
    #






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#==============================================================================
# Demonstrates how to use a tablelist widget for displaying and editing the
# configuration options of an arbitrary widget.
#
# Copyright (c) 2000-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.6

namespace eval demo {
    #
    # Get the current windowing system ("x11", "win32", or "aqua")
    # and add some entries to the Tk option database for the following
    # widget hierarchy within a toplevel widget of the class DemoTop:
    #

Changes to examples/tablelist/dirViewer.tcl.

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Demonstrates how to use a tablelist widget for displaying the content of a
# directory.
#
# Copyright (c) 2010-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require Tk 8.3
package require tablelist 6.5

#
# Add some entries to the Tk option database
#
set dir [file dirname [info script]]
source [file join $dir option.tcl]







|







4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Demonstrates how to use a tablelist widget for displaying the content of a
# directory.
#
# Copyright (c) 2010-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require Tk 8.3
package require tablelist 6.6

#
# Add some entries to the Tk option database
#
set dir [file dirname [info script]]
source [file join $dir option.tcl]

Changes to examples/tablelist/dirViewer_tile.tcl.

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#==============================================================================
# Demonstrates how to use a tablelist widget for displaying the content of a
# directory.
#
# Copyright (c) 2010-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.5

#
# Add some entries to the Tk option database
#
set dir [file dirname [info script]]
source [file join $dir option_tile.tcl]







|







3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#==============================================================================
# Demonstrates how to use a tablelist widget for displaying the content of a
# directory.
#
# Copyright (c) 2010-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.6

#
# Add some entries to the Tk option database
#
set dir [file dirname [info script]]
source [file join $dir option_tile.tcl]

Changes to examples/tablelist/embeddedWindows.tcl.

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#==============================================================================
# Demonstrates the use of embedded windows in tablelist widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist 6.5

wm title . "Tk Library Scripts"

#
# Add some entries to the Tk option database
#
set dir [file dirname [info script]]






|







2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#==============================================================================
# Demonstrates the use of embedded windows in tablelist widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist 6.6

wm title . "Tk Library Scripts"

#
# Add some entries to the Tk option database
#
set dir [file dirname [info script]]

Changes to examples/tablelist/embeddedWindows_tile.tcl.

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#==============================================================================
# Demonstrates the use of embedded windows in tablelist widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.5

wm title . "Tile Library Scripts"

#
# Add some entries to the Tk option database
#
set dir [file dirname [info script]]






|







2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#==============================================================================
# Demonstrates the use of embedded windows in tablelist widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.6

wm title . "Tile Library Scripts"

#
# Add some entries to the Tk option database
#
set dir [file dirname [info script]]

Changes to examples/tablelist/iwidgets.tcl.

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# widgets from the Iwidgets package and of the Tk core checkbutton and
# menubutton widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require Tk 8.4				;# because of "-compound"
package require tablelist 6.5
if {[catch {package require iwidgets} result1] != 0 &&
    [catch {package require Iwidgets} result2] != 0} {
    error "$result1; $result2"
}

wm title . "Serial Line Configuration"







|







5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# widgets from the Iwidgets package and of the Tk core checkbutton and
# menubutton widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require Tk 8.4				;# because of "-compound"
package require tablelist 6.6
if {[catch {package require iwidgets} result1] != 0 &&
    [catch {package require Iwidgets} result2] != 0} {
    error "$result1; $result2"
}

wm title . "Serial Line Configuration"

Changes to examples/tablelist/iwidgets_tile.tcl.

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Demonstrates the interactive tablelist cell editing with the aid of some
# widgets from the Iwidgets package and of the Tk core checkbutton and
# menubutton widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.5
if {[catch {package require iwidgets} result1] != 0 &&
    [catch {package require Iwidgets} result2] != 0} {
    error "$result1; $result2"
}

wm title . "Serial Line Configuration"







|







4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Demonstrates the interactive tablelist cell editing with the aid of some
# widgets from the Iwidgets package and of the Tk core checkbutton and
# menubutton widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.6
if {[catch {package require iwidgets} result1] != 0 &&
    [catch {package require Iwidgets} result2] != 0} {
    error "$result1; $result2"
}

wm title . "Serial Line Configuration"

Changes to examples/tablelist/miscWidgets.tcl.

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Oakley's combobox, the mentry widgets of type "Date" and "Time", and of the
# Tk core entry, spinbox, checkbutton, and menubutton widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require Tk 8.4		;# because of "-compound" and the spinbox widget
package require tablelist 6.5
package require combobox
package require mentry

wm title . "Serial Line Configuration"

#
# Add some entries to the Tk option database






|







5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Oakley's combobox, the mentry widgets of type "Date" and "Time", and of the
# Tk core entry, spinbox, checkbutton, and menubutton widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require Tk 8.4		;# because of "-compound" and the spinbox widget
package require tablelist 6.6
package require combobox
package require mentry

wm title . "Serial Line Configuration"

#
# Add some entries to the Tk option database

Changes to examples/tablelist/miscWidgets_tile.tcl.

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Demonstrates the interactive tablelist cell editing with the aid of Bryan
# Oakley's combobox, the mentry widgets of type "Date" and "Time", and of the
# Tk core entry, spinbox, checkbutton, and menubutton widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.5
package require combobox
package require mentry

wm title . "Serial Line Configuration"

#
# Add some entries to the Tk option database






|







4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Demonstrates the interactive tablelist cell editing with the aid of Bryan
# Oakley's combobox, the mentry widgets of type "Date" and "Time", and of the
# Tk core entry, spinbox, checkbutton, and menubutton widgets.
#
# Copyright (c) 2004-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.6
package require combobox
package require mentry

wm title . "Serial Line Configuration"

#
# Add some entries to the Tk option database

Changes to examples/tablelist/styles.tcl.

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#==============================================================================
# Demonstrates some ways of improving the look & feel of a tablelist widget.
#
# Copyright (c) 2002-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist 6.5

wm title . "Tablelist Styles"

#
# Get the current windowing system ("x11", "win32", "classic",
# or "aqua") and add some entries to the Tk option database
#






|







2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#==============================================================================
# Demonstrates some ways of improving the look & feel of a tablelist widget.
#
# Copyright (c) 2002-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist 6.6

wm title . "Tablelist Styles"

#
# Get the current windowing system ("x11", "win32", "classic",
# or "aqua") and add some entries to the Tk option database
#

Changes to examples/tablelist/styles_tile.tcl.

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#==============================================================================
# Demonstrates some ways of improving the look & feel of a tablelist widget.
#
# Copyright (c) 2002-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.5

wm title . "Tablelist Styles"

#
# Improve the window's appearance by using a tile
# frame as a container for the other widgets
#






|







2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#==============================================================================
# Demonstrates some ways of improving the look & feel of a tablelist widget.
#
# Copyright (c) 2002-2019  Csaba Nemethi (E-mail: csaba.neme[email protected])
#==============================================================================

package require tablelist_tile 6.6

wm title . "Tablelist Styles"

#
# Improve the window's appearance by using a tile
# frame as a container for the other widgets
#

Changes to examples/tablelist/tileWidgets.tcl.

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#==============================================================================
# Demonstrates the interactive tablelist cell editing with the aid of some
# widgets from the tile package.
#
# Copyright (c) 2005-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.5

wm title . "Serial Line Configuration"

#
# Add some entries to the Tk option database
#
set dir [file dirname [info script]]






|







3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#==============================================================================
# Demonstrates the interactive tablelist cell editing with the aid of some
# widgets from the tile package.
#
# Copyright (c) 2005-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require tablelist_tile 6.6

wm title . "Serial Line Configuration"

#
# Add some entries to the Tk option database
#
set dir [file dirname [info script]]

Changes to modules/tablelist/COPYRIGHT.txt.

1
2
3
4
5
6
7
8
9
10
Multi-column listbox and tree widget package Tablelist, version 6.5
Copyright (c) 2000-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-column listbox and tree widget package Tablelist, version 6.6
Copyright (c) 2000-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/tablelist/README.txt.

84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
...
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
    http://www.nemethi.de

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

Tablelist is available for free download from the same URL as Wcb.  The
distribution file is "tablelist6.5.tar.gz" for UNIX and
"tablelist6_5.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
................................................................................
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 "tablelist6.5.tar.gz":

    gunzip -c tablelist6.5.tar.gz | tar -xf -

On most UNIX systems this can be replaced with

    tar -zxf tablelist6.5.tar.gz

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

On Windows, use WinZip or some other program capable of unpacking the
distribution file "tablelist6_5.zip" into the directory "tablelist6.5",
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






|
|







 







|

|



|

|



|







84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
...
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
    http://www.nemethi.de

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

Tablelist is available for free download from the same URL as Wcb.  The
distribution file is "tablelist6.6.tar.gz" for UNIX and
"tablelist6_6.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
................................................................................
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 "tablelist6.6.tar.gz":

    gunzip -c tablelist6.6.tar.gz | tar -xf -

On most UNIX systems this can be replaced with

    tar -zxf tablelist6.6.tar.gz

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

On Windows, use WinZip or some other program capable of unpacking the
distribution file "tablelist6_6.zip" into the directory "tablelist6.6",
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

Changes to modules/tablelist/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) 2000-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

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

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

#
# Code common to all packages:
#
package ifneeded tablelist::common 6.5 \
        "namespace eval ::tablelist { proc DIR {} {return [list $dir]} } ;\
	 source [list [file join $dir tablelistPublic.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) 2000-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

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

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

#
# Code common to all packages:
#
package ifneeded tablelist::common 6.6 \
        "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
#==============================================================================
# Main Tablelist package module.
#
# Copyright (c) 2000-2019  Csaba Nemethi (E-mail: [email protected])
#==============================================================================

package require Tk 8
package require -exact tablelist::common 6.5

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

::tablelist::useTile 0
::tablelist::createBindings






|






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

package require Tk 8
package require -exact tablelist::common 6.6

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
	    return 200
	}
    }

    #
    # Public variables:
    #
    variable version	6.5
    variable library
    if {$::tcl_version >= 8.4} {
	set library	[file normalize [DIR]]
    } else {
	set library	[DIR]			;# no "file normalize" yet
    }
    variable scalingpct	[scalingPercentage]






|







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
	    return 200
	}
    }

    #
    # Public variables:
    #
    variable version	6.6
    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.

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright (c) 2000-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 tablelist::common 6.5

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

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

namespace eval ::tablelist {
    #
    # 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) 2000-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 tablelist::common 6.6

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

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

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