Image column in ListCtrl

Does somebody have an example of how to add an image to a list control
column other than the first one? I would like to have 2 or 3 different
columns in my application which have images. I've search the Internet
and mailing list archives, but to no avail.

Thanks,
-Hyrum

Hyrum K. Wright wrote:

Does somebody have an example of how to add an image to a list control
column other than the first one? I would like to have 2 or 3 different
columns in my application which have images. I've search the Internet
and mailing list archives, but to no avail.

It's brand new, so you'll need 2.6.3.3 to do it. Then you can use SetItemColumnImage to set the image that an existing item will use in a particular column.

···

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

If I remember correctly, wx.ListCtrls only allow images in the first
column. If you need images in other columns, check out wx.Grid .

- Josiah

···

"Hyrum K. Wright" <hyrum_wright@mail.utexas.edu> wrote:

Does somebody have an example of how to add an image to a list control
column other than the first one? I would like to have 2 or 3 different
columns in my application which have images. I've search the Internet
and mailing list archives, but to no avail.