Treebook background color

Hi all,

I wasn't sure whether to post this to the wxWidgets list or the wxPython specific one, so let me know if I got it wrong :slight_smile:

I am using a slightly adopted version of some demo code for the Treebook using wxPython, it created a bunch of nodes on the left, each with a single sub page and its own image.

I have removed the image and would like instead to set the background color of the tree nodes to a gentle blue, where would I start looking for how to do this? Ive had a look at the wxWidgets Treebook documentation, but there is no obviously named method to.

thanks for any help

- Andrew Bush

Andrew BusH wrote:

Hi all,

I wasn't sure whether to post this to the wxWidgets list or the wxPython specific one, so let me know if I got it wrong :slight_smile:

I am using a slightly adopted version of some demo code for the Treebook using wxPython, it created a bunch of nodes on the left, each with a single sub page and its own image.

I have removed the image and would like instead to set the background color of the tree nodes to a gentle blue, where would I start looking for how to do this? Ive had a look at the wxWidgets Treebook documentation, but there is no obviously named method to.

You can get access to the TreeCtrl embedded in the Treebook by calling its GetTreeCtrl method.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!