[wxPython] wxListCtrl - Getting the data?

From the wxPython demo, I have copied the following code for the wxListCtrl where the list items are insert/set for 3 columns.

for x in range(len(items)):
            key, data = items
            self.list.InsertImageStringItem(x, data[0], idx1)
            self.list.SetStringItem(x, 1, data[1])
            self.list.SetStringItem(x, 2, data[2])
            self.list.SetItemData(x, key)

Now I am do not know how to access the items by row/col in my code. I want to be able to loop through the list control and get each row/col value.

for x in range(len(self.list.GetItemCount())):
    # how do i get the value for each row x
    # and colum in the list control?

Thanks for any help,

Gene

···

______________________________________________
FREE Personalized Email at Mail.com
Sign up at Free email accounts with mail.com | Log in here or register today