I am pleased to announce version 5.17 of the multi-column listbox and
tree widget package Tablelist.
What is new in Tablelist 5.17?
------------------------------
1. Added the tree styles "arc", "blueMenta", "menta", "ubuntuMate", and
"ubuntu3", inspired by the Arc icon theme (of the GTK 2/3 theme Arc)
and some GTK 3 themes of the latest versions of the MATE desktop and
Ubuntu Linux distribution, respectively.
2. Added the "dicttoitem" and "itemtodict" subcommands (thanks to Denis
Rheault for his proposal).
3. Support for the new virtual event <<TablelistViewUpdated>>,
generated when the tablelist widget has finished updating its view
(thanks to Martyn Smith for his proposal).
4. Added the boolean variable tablelist::strictTk, which controls the
strict listbox-compatibility of the default bindings. If its value
is false (which is the default) then <Control-Button-1> now toggles
the selection state of the item or element under the mouse in all
selection modes, and <Control-space> and <Control-Select> toggle the
selection state of the active item or element (thanks to Alexandru
Dadalau for discussions on a related subject).
5. The default bindings on X11 and Windows now support the keyboard
shortcuts <Control-a> and <Shift-Control-A> as alternatives to the
key sequences <Control-slash> (for "Select All") and
<Control-backslash> (for "Deselect All") (thanks to Juge, Alexandru
Dadalau, Christian Gollwitzer, Rich, and Andreas Leitgeb for
discussions on a related subject).
6. Improvements related to vertical scrolling, especially in the
presence of embedded images or multi-line elements (thanks to Olivier
Jolet for discussions on this subject).
7. Improvements in the documentation (thanks to Adam Jensen for his
input).
How to get it?
--------------
Tablelist is available for free download from the URL
http://www.nemethi.de
The distribution file is "tablelist5.17.tar.gz" for UNIX and
"tablelist5_17.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":
gunzip -c tablelist5.17.tar.gz | tar -xf -
This command will create a directory named "tablelist5.17", 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".
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).
Next, you should check the exact version number of your Tcl/Tk
distribution, given by the "tcl_patchLevel" and "tk_patchLevel"
variables. If you are using Tcl/Tk version 8.2.X, 8.3.0 - 8.3.2, or
8.4a1, then you should proceed as described in the "How to install it?"
section of the file "tablelist.html", located in the "doc" directory.
How to use it?
--------------
The Tablelist distribution provides two packages, called Tablelist and
Tablelist_tile. The main difference between the two is that
Tablelist_tile enables the tile-based, theme-specific appearance of
tablelist widgets; this package requires Tcl/Tk 8.4 or higher and tile
0.6 or higher. It is not possible to use both packages in one and the
same application, because both are implemented in the same "tablelist"
namespace and provide identical commands.
To be able to use the commands and variables implemented in the package
Tablelist, your scripts must contain one of the lines
package require tablelist ?version?
package require Tablelist ?version?
Likewise, to be able to use the commands and variables implemented in
the package Tablelist_tile, your scripts must contain one of the lines
package require tablelist_tile ?version?
package require Tablelist_tile ?version?
Since the packages Tablelist and Tablelist_tile are implemented in the
"tablelist" namespace, you must either import the procedures you need,
or use qualified names like "tablelist::tablelist".
For a detailed description of the commands and variables provided by
Tablelist and of the examples contained in the "demos" directory, see
the tutorial "tablelist.html" and the reference pages, all located in
the "doc" directory.
--
Csaba Nemethi
http://www.nemethi.de mailto:
csaba....@t-online.de