Tk::MListbox - Changes/Bug fixes Document Info
Class Reference | Tutorial | FAQ
Date:27 Dec 2001
Author:Rob Seegel
Package:MListbox

Bug Reports
Date Version Fixed Status Bug Report
15 Dec 20011.10Closed Color options not working correctly: -background, -foreground, -selectbackground, -selectforeground
I overhauled the ConfigSpecs call for MListbox, and all internally defined Classes, these colors will now work correctly, and they default to standard Tk colors set for win32 and unix - RCS
15 Dec 20011.10Closed Deprecated function used within MListbox causing warning messages
"defined @array" error fixed - RCS
15 Dec 20011.10Closed Non-existant keyboard bindings
I added several - see key bindings section in docs - RCS
15 Dec 20011.10Closed columnPackInfo not returning values after widget creation
The problem occurred because MainLoop had not yet been encountered and the widget was not yet done with it's initial configuration - there is an update called inside this method now. -RCS.
15 Dec 20011.10Closed when seting a width for a column, this method would appear to be deleting the header. This occured when columnPack was called prior to MainLoop.
corrected method to use reqwidth() method instead of width() - RCS
15 Dec 20011.10Closed -selectmode not working correctly in extended mode - not extending to last row
26 Dec 20011.11Closed when using bindRows(), the row index returned does not always correespond with the last element, yet the last element was returned.
Because I had used the nearest() method call, when there was space following the last row, nearest() would still return the last element, because it was nearest. This was changed to return -1 when a row is not directly beneath the mouse pointer - RCS
API changes/deprecated methods
Date Version Change
20 Dec 20011.10 Deprecated bind() method
This method used to override the base bind() method and alias to bindRows(). This was not a good idea, since there is value to being able to bind to the MListbox widget as a whole (ie. Enter, Leave, various key bindings). -RCS
20 Dec 20011.10 Modified bindRows(), bindColumns(), and bindSeparators() methods to return a hash reference containing row, column, and subwidget info instead of column index.
This was done as a convenience. Usually, when binding to a widget, the first widget passed to the callback, has useful Event info. Not so in this case, because the first widget being passed back isn't the widget being bound to. The change was to include more information in a convenient package, and leave the door open for more info at a later time - RCS
20 Dec 20011.10 Replaced Canvas for Frame within MLColumn to be used as "separator" widget.
I'm not entirely sure why it was a Canvas to begin with. It seemed like overkill to me, and added unnecessary overhead, so I replaced it with Frame. -RCS
Release information
Date Comments
10 Feb 2000 HJH Releases version 1.09 of MListbox
Apr 2000 HJH ceases work on MListbox
Nov 2000 RCS takes over maintenance of MListbox
20 Dec 2001 RCS releases version 1.10; Created new documentation package for MListbox and modified test.pl to be more Win32 friendly
1.10 is a fairly massive scrubbing of MListbox code - there were many minor and a few semi-major changes done thoughout. Let me know if this version badly breaks your apps -- though chances are, many of the the changes you have likely already made - RCS
27 Dec 2001 RCS releases version 1.11 -- very minor changes - tweaked bindRows method, updated some docs


Last Updated by Rob Seegel on 27 Dec 2001