Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

There are no games on this system.


devel / comp.lang.tcl / ANNOUNCE: Widget callback package Wcb 4.0

SubjectAuthor
o ANNOUNCE: Widget callback package Wcb 4.0nemethi

1
ANNOUNCE: Widget callback package Wcb 4.0

<umgv17$dgvg$3@tota-refugium.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13043&group=comp.lang.tcl#13043

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From: csaba.nemethi@t-online.de (nemethi)
Newsgroups: comp.lang.tcl
Subject: ANNOUNCE: Widget callback package Wcb 4.0
Date: Wed, 27 Dec 2023 11:41:43 +0100
Message-ID: <umgv17$dgvg$3@tota-refugium.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 27 Dec 2023 10:41:44 -0000 (UTC)
Injection-Info: tota-refugium.de;
logging-data="443376"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:wUvASSS1A68t74mQv3K7TQR2Gxs=
X-User-ID: eJwNysERwDAIA7CV4AA7HqeUsv8Iqd6qgONlopC1tcyyadk6dcBjxoC+7B3X1PFg2COl+n9tF/y9ECM=
Content-Language: en-US
 by: nemethi - Wed, 27 Dec 2023 10:41 UTC

I am pleased to announce version 4.0 of the widget callback package Wcb.

What is new in Wcb 4.0?
-----------------------

1. Dropped the support for Tk versions earlier than 8.4. This has made
the code simpler and easier to maintain.

2. Support for the new ttk::treeview commands "cellselection set",
"cellselection add", "cellselection remove", and "cellselection
toggle", added in Tk 8.7.

3. The demo scripts listboxtest*.tcl no longer expect the images in the
directory $tk_library/demos/images, since in Tk 8.7 and later the Tk
demos directory has a different location.

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

Wcb is available for free download from the Web page

https://www.nemethi.de

The distribution file is "wcb4.0.tar.gz" for UNIX and "wcb4_0.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.

Wcb is also included in tklib, which has the address

https://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 Wcb on UNIX, "cd" to the desired directory and unpack the
distribution file "wcb4.0.tar.gz":

gunzip -c wcb4.0.tar.gz | tar -xf -

On most UNIX systems this can be replaced with

tar -zxf wcb4.0.tar.gz

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

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

How to use it?
--------------

To be able to use the commands and variables implemented in the package
Wcb, your scripts must contain one of the lines

package require wcb ?version?
package require Wcb ?version?

Since the package Wcb is implemented in its own namespace called "wcb",
you must either import the procedures you need, or use qualified names
like "wcb::callback".

For a detailed description of the commands and variables provided by
Wcb and of the examples contained in the "demos" directory, see the
tutorial "wcb.html" and the reference page "wcbRef.html", both located
in the "doc" directory.

--
Csaba Nemethi https://www.nemethi.de mailto:csaba.nemethi@t-online.de

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor