Tk Library Source Code

View Ticket
Login
Ticket UUID: 1501874
Title: Can't change selectmode after ListBox creation
Type: Bug Version: None
Submitter: blacksqr Created on: 2006-06-06 20:54:33
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2009-06-26 20:25:34
Resolution: Fixed Closed By: oehhar
    Closed on: 2009-06-26 13:25:34
Description:
If a ListBox widget is created with a certain
selectmode, then a different selectmode is desired, the
configure command fails actually to switch modes, and
one is stuck with the original selectmode.

% package require BWidget 1.7
1.7
% set lb [ListBox::create .lb -selectmode single]
.lb
% $lb configure -selectmode multiple
% $lb cget -selectmode
single
User Comments: oehhar added on 2009-06-26 20:25:34:
Hi Stephen,
this option is documented and implemented as readonly.

Unfortunately, I first fixed it and then read the manual. So I fixed the manual too.
Please check, if current cvs works for you.