I need to create an interface with multiple listbox widgets.
For example, in
I want the user to be able to select "A" in the first listbox and "F" in the second one.
My problem is that when the user clicks "F" in the second listbox, the "A", or any selection in the first is unselected, and vice-versa
Any idea how to make the selection staying in the other listboxes ?
For example, in
Code:
#!/bin/ksh
# exec /bin/ksh \
exec wish "$0" "$@"
listbox .lb1 -selectmode extended
listbox .lb2 -selectmode extended
pack .lb1 .lb2
.lb1 insert end A B C D
.lb2 insert end E F G H
I want the user to be able to select "A" in the first listbox and "F" in the second one.
My problem is that when the user clicks "F" in the second listbox, the "A", or any selection in the first is unselected, and vice-versa
Any idea how to make the selection staying in the other listboxes ?