I am almost entirely basing the relevant piece of my code on this:
https://wiki.tcl-lang.org/page/Tile+Table
I have changed it, but for the sake of this query, let's assume only
the following changes:
Line 34, insert:
image create photo ::TileTable::iconDIR -file /home/tcl/icons/defaultset/24pixels/dir_icon.png
Line 60, now 61 because we inserted one:
$w.tree insert {} end -values $datum -tag tag[incr lnum]
replace with:
$w.tree insert {} end -image ::TileTable::iconDIR -values $datum -tag tag[incr lnum]
I expected to see the directory icon inserted right before each
treeview item's text, but nothing appears.
Is there a correct way?
--
Luc
>>