wx.ListCtrl . Could I change the background colour of a certain row?

Hi,
I've a wx.ListCtrl whith style setting on wx.LC_REPORT.
I use it to show some data like this

Product Totale Price
Apples 100.25
Pers 200.30
Apricots 50.0

I would like to change the backgroundcolour property
of a certain row,for example if the Total Price
is great on a determinate value such > 100.
I've see something like this on wxPython demo
on example named ListCtrl_virtual.

It's possible..and how?

regards
Giuseppe

Mark Guagenti ha scritto:

Yes you can do it like:
item = wx.ListItem()
item.SetBackgroundColour(wx.RED)
itemIndex = list.InsertItem(item)

or

list.SetItemBackgroundColour(itemIndex, wx.RED)

Thanks, Mark
this work

self.lstMyListWidgets.SetItemBackgroundColour(index, (220,220,220))

in the first snippet

itemIndex = list.InsertItem(item)

is

itemIndex = list.SetItem(item)

Giuseppe