TreeView and De-Select?

Hi there,

When I select an entry in a TreeView, it highlights
this line. Is there some way to deselect this again?

I ask because I have a use case where there is only one
line stored in my list store, and its a bit confusing
to have it highlighted always, without a way to
unselect it again. (Select via left mouse button click)

Regards

“shev”


Paralegal Programs
Seeking a paralegal career? Find a school near you. Get info now.
http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=97f43ddb2b16c228f81c2cd131ebeaf8

Powered by Outblaze


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

On Tue, Dec 19, 2006 at 09:07:53PM +0100, Roebe XXX wrote:

Hi there,

When I select an entry in a TreeView, it highlights
this line. Is there some way to deselect this again?

Programatically, you can do:

tv.selection.unselect_all

From the UI itself, you can just control + click the selected row to
unselect it.

-pete


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV