Menu

#96 Cannot configure treeview

open
nobody
None
5
2003-07-05
2003-07-05
No

Hello,

I just upgraded to the most recent version of BLT (ver
2.4 for Tcl/Tk 8.4), and I can no longer configure the
treeview widget. (I had been using BLT 2.4 for Tcl/Tk 8.3).

These commands (to turn off highlighting for the
selection)...
=============
.readfiles.tree configure -selectbackground
[.readfiles.tree cget -background]
.readfiles.tree configure -selectforeground
[.readfiles.tree cget -foreground]
=============

...and these commands (to sort entries)...

# Set up the widget to sort on filenames. These appear
in two places:
# - as the label for the file
# - as a value in a "data" column
# This is because can only sort on the column, not on
the label,
# but want to display the filename in the label.
.readfiles.tree column insert end name -hide yes
.readfiles.tree sort auto true
.readfiles.tree sort configure -column name
=============

...have no effect, even though they used to.

Thanks,
Eric Kemp-Benedict

Discussion


Log in to post a comment.