Subject: | sort and itemconfigure |
Dear,
I have create a MListbox widget. An each pair line have blue color else
using by using this code.
Reading file
...
foreach ( $MListbox->columnGet(0,'end') ) {
$_->itemconfigure('end',
-background => 'blue',
);
if ( $. % 2 == 0 ) {
$_->itemconfigure('end', -background => 'white');
}
}
...
all it is OK when the widget is displayed.
But when the user click on a head, the column is sorted ( great), but
all background lines color is changed and set to the initial MListbox
background. It is possible to update that ?
Thank you
--
Djibril