• ANNOUNCE: Scrolling utilities package Scrollutil 1.14

    From nemethi@21:1/5 to All on Tue Mar 22 11:39:51 2022
    I am pleased to announce version 1.14 of the scrolling utilities package Scrollutil.

    What is new in Scrollutil 1.14?
    -------------------------------

    1. Improvements in the scaleutil package, related to setting the default
    height of the ttk::treeview rows to a value based on the font's
    metrics (see the section "More on scrollutil::scalingpct" in
    Scrollutil Programmer's Guide for details); several extensions.

    2. Pressing and later releasing the left mouse button over the
    "closetab" element of a ttk:notebook tab now generates a
    <<CloseTabRequested>> virtual event, whose handling by closing the
    tab via the notebook's "forget" subcommand if appropriate lies in
    the responsibility of the application (thanks to Alexandru Dadalau
    for his proposal) (POTENTIAL INCOMPATIBILITY!).

    3. The title label as well as the tabs created with the "addlabel" and
    "insertlabel" plainnotebook subcommands now have their own styles
    "PnbTitle.TLabel" and "PnbLabel.TLabel" (thanks to Harald Oehlmann
    for his proposal).

    4. Added the plainnotebook "titlepath" subcommand, which returns the
    path name of the widget's title label.

    5. The Scrollutil distribution now includes the new clampatch package,
    whose "clampatch::patchClamTheme" command makes the ttk::button
    widgets as well as the ttk::treeview and tablelist headers of the
    "clam" theme smaller and significantly improves the look and behavior
    of its ttk::checkbutton and ttk::radiobutton widgets. The script
    "styleUtil.tcl", which is source'd in all demo scripts, now invokes
    this procedure.

    6. Fixed a bug related to changing the value of the "-xscrollbarmode" or
    "-yscrollbarmode" scrollarea option from "none" to "static" or
    "dynamic" (thanks to Bo Berggren for his bug report and valuable
    contribution).

    7. Several improvements in the demo scripts. For example, they now
    retrieve the current theme via "[ttk::style theme use]" when possible
    rather than relying on the value of the variable "ttk::currentTheme"
    (which is set by the procedure "ttk::setTheme" only).

    8. Improvements in the code and documentation, especially in Scrollutil
    Programmer's Guide and the description of the plainnotebook widget
    (thanks to Harald Oehlmann for his feedback).

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

    Scrollutil is available for free download from the Web page

    https://www.nemethi.de

    he distribution file is "scrollutil1.14.tar.gz" for UNIX and "scrollutil1_14.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.14.tar.gz":

    gunzip -c scrollutil1.14.tar.gz | tar -xf -

    On most UNIX systems this can be replaced with

    tar -zxf scrollutil1.14.tar.gz

    Both commands will create a directory named "scrollutil1.14", with the subdirectories "demos", "doc", and "scripts".

    On Windows, use WinZip or some other program capable of unpacking the distribution file "scrollutil1_14.zip" into the directory
    "scrollutil1.14", 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 widget; 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 "scrollutil" namespace and provide identical commands (except for
    the "scrollutil::scrollednotebook" command, which is 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:csaba.nemethi@t-online.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Harald Oehlmann@21:1/5 to All on Wed Mar 23 09:29:27 2022
    Am 22.03.2022 um 11:39 schrieb nemethi:
    I am pleased to announce version 1.14 of the scrolling utilities package Scrollutil.

    Thank you, Csaba !
    Great that you constantly improve Tk by high level ald detailed work.
    I appreciate,
    Harald

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)