- or download this
$string='Match';
#
...
if ($style_data eq $string)
{ $tree2->entryconfigure($indent0_line,-style=>$tree2_match_style);
}
- or download this
Tree1 style[Match]
Tree1 wanted style[Tk::ItemStyle=HASH(0x21dd6d4)]
- or download this
$string='Match';
#
...
#configure tree2 node with retrieved style from tree1 node
#
$tree2->entryconfigure($indent0_line,-style=>$wanted_style);