Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #419: Repeated reboots of the system failed to solve problem


comp / comp.lang.tcl / ANNOUNCE: Widget callback package Wcb 4.1

SubjectAuthor
o ANNOUNCE: Widget callback package Wcb 4.1nemethi

1
Subject: ANNOUNCE: Widget callback package Wcb 4.1
From: nemethi
Newsgroups: comp.lang.tcl
Date: Wed, 4 Sep 2024 10:13 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.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.1
Date: Wed, 4 Sep 2024 12:13:45 +0200
Message-ID: <vb9bsp$24ss9$1@tota-refugium.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 4 Sep 2024 10:13:45 -0000 (UTC)
Injection-Info: tota-refugium.de;
logging-data="2257801"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:/CHEg+EHLrMTnjkXHDat7vMQAcM=
Content-Language: en-US
X-User-ID: eJwFwYEBgDAIA7CXRGjHzgEq/59gAqdxThAMLLZqOY9cOjF3ty04urFIOIWvXtlke3t0JX87oBH0
View all headers

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

What is new in Wcb 4.1?
-----------------------

1. The demo script "listboxtest1.tcl" now correctly takes into account
that the names of all bitmap files in the directory "images" have the
suffix ".xbm", regardless of the Tk version being used.

2. Restored the support for Tcl/Tk 8.4, which was broken due to the use
of package version numbers with a trailing "-" (thanks to Samuel
Brown for his bug report).

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

Wcb is available for free download from the Web page

https://www.nemethi.de

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

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

On most UNIX systems this can be replaced with

tar -zxf wcb4.1.tar.gz

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

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

rocksolid light 0.9.8
clearnet tor