Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Set backgroud in the tree
Set backgroud in the tree [message #530996] Mon, 03 May 2010 10:06 Go to next message
Eclipse UserFriend
Originally posted by: jedlicka.poll.cz

Hi,

How to set the background items in the tree?

I can set the background items in the root nodes by
tree.getItem(indexRow).setBackground(indexColumn, color) but I don't
know how to set the background of a child's items.

I don't know how to find indexRow tree items.

Any example?

Thanks


Martin
Re: Set backgroud in the tree [message #531412 is a reply to message #530996] Tue, 04 May 2010 19:07 Go to previous message
Praveen  is currently offline Praveen Friend
Messages: 86
Registered: July 2009
Member
> I don't know how to find indexRow tree items.

Did you try TreeItem.getItems() or TreeItem.getItem(index) for
retrieving the child items ? These APIs should be helpful for you.
Please let me know if you are looking for something else.
Previous Topic:SWT Swing integration respective batik (SVG rendering library)
Next Topic:StyledText "Text Editor Demo" from 3.5 M4?
Goto Forum:
  


Current Time: Fri Apr 26 19:30:40 GMT 2024

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

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

Back to the top