Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANNOUNCE: Multi-entry widget package Mentry 3.14

16 views
Skip to first unread message

nemethi

unread,
Sep 2, 2021, 11:57:39 AM9/2/21
to
I am pleased to announce version 3.14 of the multi-entry widget package
Mentry.

What is new in Mentry 3.14?
---------------------------

1. Extended the "adjustentry" subcommand by an optional second string
argument and used this extended form in the implementation of the
"mentry::fixedPointMentry" command. This significantly improves the
layout of the mentry widgets of type "FixedPoint".

2. Added code that handles the virtual event <<TkWorldChanged>> with the
"user_data" field (%d) set to "FontChanged", which, with Tk versions
later than 8.6.11 and 8.7.a5, will be sent by the Tk engine to all
widgets when a font is changed, for example, by invoking "font
configure" (see TIP 608).

3. Added bindings that handle <<Paste>> events in the entry components
of the mentry widgets of types "IPAddr", "IPv6Addr", "EthernetAddr",
and "PhoneNumber" (thanks to Paul Obermeier for his proposal).

4. Improved and updated the documentation.

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

Mentry is available for free download from the Web page

https://www.nemethi.de

The distribution file is "mentry3.14.tar.gz" for UNIX and
"mentry3_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.

Mentry 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 Mentry on UNIX, "cd" to the desired directory and unpack the
distribution file "mentry3.14.tar.gz":

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

On most UNIX systems this can be replaced with

tar -zxf mentry3.14.tar.gz

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

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

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

The Mentry distribution provides two packages, called Mentry and
Mentry_tile. The main difference between the two is that Mentry_tile
enables the tile-based, theme-specific appearance of mentry widgets;
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 "mentry" namespace and provide
identical commands.

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

package require mentry ?version?
package require Mentry ?version?

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

package require mentry_tile ?version?
package require Mentry_tile ?version?

Since the packages Mentry and Mentry_tile are implemented in the
"mentry" namespace, you must either import the procedures you need, or
use qualified names like "mentry::mentry".

For a detailed description of the commands and variables provided by
Mentry and of the examples contained in the "demos" directory, see the
tutorial "mentry.html" and the reference pages, all located in the
"doc" directory.

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