Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » unsetting images on the TreeViewer
unsetting images on the TreeViewer [message #461689] Tue, 27 September 2005 09:47
Rajeev Sudra is currently offline Rajeev SudraFriend
Messages: 30
Registered: July 2009
I have a TreeViewer with two columns.

I use TreeItem.setImage(1, image) on mouse over.

On mouse leave, I want to use TreeItem.setImage(1, null) to unset the
image (as with TableTreeItem) but this does not work. Currently, I am
setting a dummy image but actually want to unset/clear the image.

Any thoughts? Do I just dispose the image and create a new one? Seems a
little inefficient if thats the solution.

Previous Topic:mouse not working properly
Next Topic:create TreeColumns through Content/Label provider
Goto Forum:

Current Time: Mon Sep 16 12:53:48 GMT 2019

Powered by FUDForum. Page generated in 0.01710 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top