ANN: a(Rich)List
From: ulis (maurice.ulis_at_wanadoo.fr)
Date: 11/13/03
- Next message: Bryan Oakley: "Re: Having the setting of a variable trigger some code."
- Previous message: Aric Bills: "Re: Silent overriding of the command?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 13 Nov 2003 13:23:51 -0800
Maintainer: ulis
Version: v 0.9 beta
Download: http://perso.wanadoo.fr/maurice.ulis/tcl/Richlist/
Description:
a(Rich)List is a powerful and easy to use Tcl package which manages
enriched items lists.
As widgets, these items have options taking values and, as widgets,
can execute actions.
Following the need a Richlist can be viewed as a poor man class of
objects, as a database table (each item being a row and each option
name being a column) or as a structure description (each item being an
occurence of the structure and each option being an element of the
structure).
The items can be grouped inside sublists. Each sublist could be viewed
as a view on the table.
The first sublist is created with the Richlist and the other sublists
can be built from a simple list of items, from an index on a sublist
or from set operations on the sublists (union, intersection,
différence).
An index on a sublist is as a table index and allows to access the
items from the values of an option (search by pattern).
So it is easy to create sublists that split the items set of the
Richlist following the values taken by an option.
Powerful operations allow to retrieve, modify and format the values of
all or part ot the items of a sublist.
The access to a sublist or an item is thru a reference.
A sublist reference is a Tcl command allowing the access to the
sublist actions.
An item reference is a Tcl command allowing the access to the item
options and actions.
Callbacks associated to the Richlist allow to define actions on
events.
The init and dispose actions are called on init and destruction of the
items.
The unknown action is called when items try to call unknown actions.
- Next message: Bryan Oakley: "Re: Having the setting of a variable trigger some code."
- Previous message: Aric Bills: "Re: Silent overriding of the command?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]