Deutsch   English   Français   Italiano  
<vrrd3i$k10l$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Harald Oehlmann <wortkarg3@yahoo.com>
Newsgroups: comp.lang.tcl
Subject: Re: ANNOUNCE: Toggle switch widget package Tsw
Date: Mon, 24 Mar 2025 11:45:06 +0100
Organization: A noiseless patient Spider
Lines: 99
Message-ID: <vrrd3i$k10l$1@dont-email.me>
References: <vrrbcj$apra$1@tota-refugium.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 24 Mar 2025 11:45:06 +0100 (CET)
Injection-Info: dont-email.me; posting-host="0658f32235b97e46277ef17fb89d30af";
	logging-data="656405"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19GyU5sUGD39kkp7kZQe+pC"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:+7wS9FMYwQdy585eaOx/L8LjGZc=
In-Reply-To: <vrrbcj$apra$1@tota-refugium.de>
Content-Language: en-GB
Bytes: 4424

AMAZING work, Csaba, thank you !

Full download link:

https://www.nemethi.de/tsw/tsw1_0.zip

I am still using checkbuttontoggle by lost wizard Brad Lanam for my 
Androwish apps:
https://wiki.tcl-lang.org/page/ttk%3A%3Acheckbutton+as+toggle+switch+display

I am excited to test this on Androwish !

Thanks again,
Harald

Am 24.03.2025 um 11:15 schrieb nemethi:
> I am pleased to announce version 1.0 of the toggle switch widget package 
> Tsw.
> 
> What is Tsw?
> ------------
> 
> Tsw is a library package for Tcl/Tk versions 8.6 or higher.  If the
> version is 8.6 then in addition it is required that the tksvg extension
> can be loaded into the interpreter (Tk versions 8.7 and 9.0 or higher
> have built-in SVG support).  The package is written in pure Tcl/Tk code
> and contains:
> 
>    - the implementation of the "toggleswitch" mega-widget, including a
>      general utility module for mega-widgets;
>    - two richly commented demo scripts containing the typical steps
>      needed to create and handle toggleswitch widgets;
>    - a tutorial in HTML format;
>    - a reference page in HTML format.
> 
> How to get it?
> --------------
> 
> Tsw is available for free download from the Web page
> 
>      https://www.nemethi.de
> 
> The distribution file is "tsw1.0.tar.gz" for UNIX and "tsw1_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.
> 
> Tsw 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
> subdirectory of the "lib" directory within your Tcl/Tk installation (at
> the same level as the tk8.X or tk9.X subdirectory).
> 
> To install Tsw on UNIX, "cd" to the desired directory and unpack the
> distribution file "tsw1.0.tar.gz":
> 
>      gunzip -c tsw1.0.tar.gz | tar -xf -
> 
> On most UNIX systems this can be replaced with
> 
>      tar -zxf tsw1.0.tar.gz
> 
> Both commands will create a directory named "tsw1.0", with the
> subdirectories "demos", "doc", and "scripts".
> 
> On Windows, use WinZip or some other program capable of unpacking the
> distribution file "tsw1_0.zip" into the directory "tsw1.0", with the
> subdirectories "demos", "doc", and "scripts".
> 
> How to use it?
> --------------
> 
> To be able to access the commands and variables of the Tsw package, your
> scripts must contain one of the lines
> 
>      package require tsw ?version?
>      package require Tsw ?version?
> 
> Since the Tsw package is implemented in its own namespace called "tsw",
> you must either invoke the
> 
>      namespace import tsw::toggleswitch
> 
> command to import the only public procedure of the tsw namespace, or use
> the qualified name tsw::toggleswitch.  To access Tsw variables, you must
> use qualified names.
> 
> For a detailed description of the commands and variables provided by Tsw
> and of the examples contained in the "demos" directory, see the tutorial
> "tsw.html" and the reference page "toggleswitch.html", both located in
> the "doc" directory.
>