|
From: Bryan O. <br...@bi...> - 2005-03-16 19:34:44
|
In playing with the treeview I see that no matter where I click on an
item, it opens up that item. That doesn't seem right to me. Don't most
trees only open if you click on the indicator, or double-click on the
text or image?
Would this be a better set of bindings?
49a50
> bind Treeview <Double-1> { tile::treeview::ToggleFocus %W }
184c185,189
< item { BrowseTo $w $where ; ToggleFocus $w }
---
> item { BrowseTo $w $where
> if {$detail eq "Treeitem.indicator"} {
> ToggleFocus $w
> }
> }
|