Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANNOUNCE: Multi-column listbox and tree widget package Tablelist 6.2

32 views
Skip to first unread message

nemethi

unread,
Jun 5, 2018, 11:07:01 AM6/5/18
to
I am pleased to announce version 6.2 of the multi-column listbox and
tree widget package Tablelist.

What is new in Tablelist 6.2?
-----------------------------

1. Added the "-labelvalign" column configuration option, for controlling
the vertical alignment of header label images (thanks to Johann
Oberdorfer for his proposal).

2. The "collapse" and "expand" subcommands now accept a list of indices
as first argument (thanks to Ulrich Seidl for his proposal). This is
much more efficient than a series of invocations for individual rows.

3. Significantly improved the overall performance of tablelist widgets
containing a tree structure, embedded images, or multi-line cells
(thanks to Ulrich Seidl for reporting some performance-related
issues in tree widgets).

4. Important improvements related to the scanning performance and
behavior (thanks to Johann Oberdorfer for discussions on this
subject).

5. Changed the default arrow style "flat7x5" to "flat8x4" on the
windowing system "x11" and for the tile themes "alt", "clam",
"default", "kroc", "sriv", "srivlg", and "step" (POTENTIAL
INCOMPATIBILITY!).

6. The manual now recommends managing the vertical scrollbar (if any) to
appear below the header labels with the aid of the "cornerpath"
subcommand not only for Mac OS X Aqua but also for X11. The demo
scripts have been adapted accordingly.

7. Fixed two minor bugs related to the interactive cell editing with the
aid of the ctext widget (thanks to Sait Dogru for his bug report).

8. Fixed a long-standing bug related to the handling of the
"-listvariable" option in connection with snit widgetadaptors (thanks
to Rolf Ade for his bug report).

9. Several further code improvements and minor bug fixes (thanks to
Alexandru Dadalau and Bernhard Wallner for their bug reports).

How to get it?
--------------

Tablelist is available for free download from the URL

http://www.nemethi.de

The distribution file is "tablelist6.2.tar.gz" for UNIX and
"tablelist6_2.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 "tablelist6.2.tar.gz":

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

This command will create a directory named "tablelist6.2 with the
subdirectories "demos", "doc", and "scripts".

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

0 new messages