I am pleased to announce version 1.19 of the scrolling utilities package Scrollutil.
What is new in Scrollutil 1.19?
-------------------------------
1. If SVG is supported, i.e., if the Tk version is at least 8.7 or the
tksvg package can be loaded into the interpreter, then the new
variable "scrollutil::svgfmt" is set to a Tcl list that you can pass
to the commands that create or manipulate SVG images as the value of
their "-format" option to make sure that your images will be properly
scaled (see the new section "More on scrollutil::svgfmt" in
Scrollutil Programmer's Guide for details).
2. The scrollednotebook widget now provides the "style" subcommand
(which for Tk themed widgets was introduced in Tk 8.7a4) for all
supported Tk versions (just like the plainnotebook widget).
3. For Tcl versions 8.4 and later replaced the deprecated "trace
variable" invocations with "trace add variable".
4. Improvements in the themepatch package, especially regarding the
"default" theme.
5. Extended the reference manual for the scrollednotebook widget.
6. In the presence of SVG support the demo scripts "*NotebookDemo.tcl"
and "PagesManDemo.tcl" now use SVG images created with the aid of the
variable "scrollutil::svgfmt".
7. Worked around a long-standing known issue on macOS related to
suspended event processing during a resize operation (thanks to
Nicolas Bats for his bug report).
How to get it?
--------------
Scrollutil is available for free download from the Web page
https://www.nemethi.de
The distribution file is "scrollutil1.19.tar.gz" for UNIX and "scrollutil1_19.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.
Scrollutil 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 Scrollutil on UNIX, "cd" to the desired directory and unpack
the distribution file "scrollutil1.19.tar.gz":
gunzip -c scrollutil1.19.tar.gz | tar -xf -
On most UNIX systems this can be replaced with
tar -zxf scrollutil1.19.tar.gz
Both commands will create a directory named "scrollutil1.19", with the subdirectories "demos", "doc", and "scripts".
On Windows, use WinZip or some other program capable of unpacking the distribution file "scrollutil1_19.zip" into the directory
"scrollutil1.19", with the subdirectories "demos", "doc", and "scripts".
How to use it?
--------------
The Scrollutil distribution provides two packages, called Scrollutil and Scrollutil_tile. The main difference between the two is that
Scrollutil_tile enables the tile-based, theme-specific appearance of scrollarea, scrollsync, and scrollableframe widgets, and provides the
themed scrollednotebook and plainnotebook widgets; this package requires
Tcl/Tk 8.4 or higher and tile 0.8 or higher. It is not possible to use
both packages in one and the same application, because both are
implemented in the same "scrollutil" namespace and provide identical
commands (except for the commands "scrollutil::scrollednotebook", "scrollutil::plainnotebook", "scrollutil::addclosetab", "scrollutil::removeclosetab", and "scrollutil::closetabstate", which are provided by the Scrollutil_tile package only).
To be able to use the commands and variables implemented in the package Scrollutil, your scripts must contain one of the lines
package require scrollutil ?version?
package require Scrollutil ?version?
Likewise, to be able to use the commands and variables implemented in
the package Scrollutil_tile, your scripts must contain one of the lines
package require scrollutil_tile ?version?
package require Scrollutil_tile ?version?
Since the packages Scrollutil and Scrollutil_tile are implemented in the "scrollutil" namespace, you must either import the procedures you need,
or use qualified names like "scrollutil::scrollarea".
For a detailed description of the commands and variables provided by
Scrollutil and of the examples contained in the "demos" directory, see
the tutorial "scrollutil.html" and the reference pages, all located in
the "doc" directory.
--
Csaba Nemethi
https://www.nemethi.de mailto:
[email protected]
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)