Subject: ANNOUNCE: Multi-column listbox widget in pure tcl - DN [1]


Bryan Oakley <oakley@channelpoint.com> - 14 Jan 1999 - comp.lang.tcl

 WHO: Bryan Oakley <oakley@channelpoint.com>

 WHAT: mclistbox v1.00b1, a pure tcl multicolumn listbox widget

 WHERE: http://purl.oclc.org/net/oakley/tcl/mclistbox/index.html

 REQUIREMENTS: tcl/tk 8.0 or greater (8.0.3 recommended)

 SUPPORTS: all platforms supported by tcl 8.x

 WHAT'S NEW IN THIS RELEASE:

 * Everything! This is the first public version. As such, expect
   some bugs.

 BASIC FEATURES:

 * multiple columns, each which may have its own foreground and
   background colors (and fonts, with a caveat), and which may
   be visible or invisible.

 * column headers, which may be turned on or off. Headers may
   have fonts, colors and borders distinct from the columns

 * scrollable -- the width of all of the columns may exceed the
   size of the container; the view can be adjusted using normal
   methods (ie: by attaching scrollbars)

 * a -selectcommand option, which will run a command whenever
   the selection changes. Doing something when the selection
   changes seems to be something a lot of beginners stumble
   over; this feature is an attempt to alleviate that to some
   degree.

 * written in pure tcl. Nothing more to download or install.

 * completely, totally, free. I retain copyright but you are
   free to use the code however you see fit. Don't be mean.

 * fully cross-platform. Works on Macintosh, Unix, and other
   more inferior operating systems :-)

 * an API that is a superset of the standard listbox (for a low,
   low double-yer-money-back-guarantee learning curve)

 KNOWN BUGS:

 * I'm not sure if the option database code is working right; I'm
   not really up to speed on how best to use it.

 * if you use different fonts for different columns, if those
   fonts don't have the same line height the data will not line
   up properly. There is no workaround other than to use fonts
   with the same height.

 * there is very little error checking of input values in the
   various procs.

 * the code hasn't been optimized at all.

 * the columns are not currently resizable using the mouse

 --
 Bryan Oakley            mailto:oakley@channelpoint.com
 ChannelPoint, Inc.        http://purl.oclc.org/net/oakley

Last modified
1999-09-27

(195.108.246.50)

Note: you are looking at
the snapshot of an old wiki
- much of this information
is likely to be very outdated