Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Set backgroud in the tree
Set backgroud in the tree [message #530996] Mon, 03 May 2010 06: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 15:07 Go to previous message
Eclipse UserFriend
> 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 Aug 29 19:20:15 EDT 2025

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

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

Back to the top