A Multi-Column Listbox
Timeline
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

28 check-ins occurring around d03d6a58c80440c4.

1999-11-16
03:16
If the user is in inline editing, and presses below the mclistbox, the listbox will continuously scroll down. This was caused by a stray <Leave> event being sent to the MCListbox because of the destruction of the edit entry. This triggered the Tk Listbox AutoScan feature. I am now setting the <Leave> binding for the MCListbox temporarily to break, so the AutoScan does not happen. check-in: 78b12a3251 user: sven tags: trunk
1999-11-12
04:06
The inline editing is now protected against repeated calls by a [winfo exists] on the created inline editing entry widget. This should take care of bug # 3566, however I have not been able to reproduce the problem, so we can not be certain. Closed-Leaf check-in: e8f236327a user: sven tags: scriptics-sc-1-0-branch
03:49
The inline editing is now protected against repeated calls by a [winfo exists] on the created inline editing entry widget. This should take care of bug # 3566, however I have not been able to reproduce the problem, so we can not be certain. check-in: 1c75a30a07 user: sven tags: trunk
1999-11-04
00:36
Fixed the drifting edit button bug. check-in: 341345cfa1 user: ericm tags: trunk
1999-11-03
21:49
Fixed the edit button width to be smaller under Windows NT. check-in: 852147e373 user: sven tags: trunk
21:36
Geom. tweaks. check-in: f022d1067d user: ericm tags: trunk
19:56
Geom. tweak. check-in: 1a27be9cfe user: ericm tags: trunk
19:30
Geometry tweak. check-in: b26cc01d67 user: ericm tags: trunk
1999-10-29
21:00
Changed geometry and placement of button so that it doesn't look so crummy on windows. check-in: 25329602a2 user: ericm tags: trunk
01:31
* mclistbox.tcl: Added -editable/-editcommand for columns and -iseditableindexcommand for the listbox. The first two control the placement and function of an "Edit" button for the specified column -- if editable is true, the button is there. When clicked, it calls -editcommand with the name of the megawidget, the column name and the currently selected index. The third allows the user to specify a function that will return 1 or 0, indicating whether the selected index (or indices) are editable. If they are, then the Edit buttons are enabled; if not, they are disabled. If not iseditableindexcommand is set, then the buttons are enabled anytime there is just one item selected (ie, no multi-selections allowed). check-in: 0da899ef75 user: ericm tags: trunk
1999-10-26
01:52
Fixed a bug with d-n-d. check-in: aab6ac85b2 user: ericm tags: trunk
1999-10-19
21:21
* mclistbox.tcl: Added a flag "hidden" to NewColumn (defaults to false), which controls if the column will be a hidden column or not. Hidden cols are children of the frame, non-hidden ones are children of the text widget. This makes clipping work correctly for the non-hidden columns (ie, they no longer run over the border). This is kind of a kludgy way to do it, but it's safer than introducing another widget (which would be the "correct" way to do it -- put an enclosing frame on the widget, and use that to show the border, etc). check-in: f8dfd18bfc user: ericm tags: trunk
1999-10-15
19:34
* mclistbox.tcl: Added widgetDefault values for drag/drop options; extended edit command to allow the specification of a validate command, for validating the input before withdrawing the widgets; added tests of dropenabled/dragenabled in NewColumn, to only register the widget as a drag/drop site if it is enabled. check-in: 44b82e20b6 user: ericm tags: trunk
02:01
ChangeLog commit. check-in: ea90798149 user: ericm tags: trunk
01:58
* mclistbox.tcl: Added an edit function, for doing inline edits. check-in: c8f81c338a user: ericm tags: trunk
1999-10-14
20:54
* mclistbox.tcl: Added some code to remove the insertion bar when leaving the widget during dragover. check-in: 1e0e6463b2 user: ericm tags: trunk
18:08
* mclistbox.tcl: Extended drag-and-drop support with a -dropcursor option; this lets the user specify what kind of insertion cursor will be shown when performing a drop into a listbox. It can be one of before (shows a line before the dropindex), after (line after the dropindex), on (highlights the dropindex) or none (does nothing). Fixed a particularly bad bug in Configure: there were several comments inappropriately placed in a switch statement that were preventing it from ever executing. It's a wonder that the listbox worked at all. check-in: ff73ab7f99 user: ericm tags: trunk
02:30
* mclistbox.tcl: Added support for BWidget drag-and-drop protocol. Added a drag_end command. check-in: 70d0c4b545 user: ericm tags: trunk
01:06
* mclistbox.tcl: Added support for BWidget drag-and-drop protocol. check-in: d4af8c73e9 user: ericm tags: trunk
1999-09-17
23:24
Removed unnecessary call to SC_PROG_TCLSH check-in: 21233d4f7f user: wart tags: trunk
22:31
Updated to reflect recent TEA changes check-in: 985e02e2f2 user: wart tags: trunk
1999-09-16
15:38
Removed a an erroneous modification dealing with focus in the listbox. check-in: e010b73ad0 user: ericm tags: trunk
1999-09-14
03:31
TEA-ified the mclistbox package check-in: 0ef088c891 user: wart tags: trunk
1999-08-31
19:12
Added code to AdjustColumns that checks for columns with a zero width and sets their actual width in accordance with the described behaviour for a standard listbox widget (ie, it will find the widest element in that list and make the listbox wide enough to show it). Cool! check-in: 19689b5504 user: ericm tags: trunk
1999-08-03
22:00
Added a pkgIndex.tcl., to allow for "package require mclistbox" check-in: 82fb01e00c user: ericm tags: trunk
20:24
MCListbox 1.02 import check-in: d03d6a58c8 user: ericm tags: trunk
20:24
MCListbox 1.02 import Closed-Leaf check-in: 49faa4fd32 user: ericm tags: mclistbox-vendor-branch
20:24
initial empty check-in check-in: 87cbdaae35 user: root tags: trunk