How do you use GetDetailText function from ListView?

I am making a program that needs to fetch detail and main text from a ListView element. The problem is that when I try to use GetDetailText function from ListView, I need to provide a dictionary of listElement. I don't understand what I should fill in the dictionary, so I just fill it with what I think will work and hope, and the result almost don't surprise me

I already tried googling and looking at MIT AI2 docs, both of which don't help at all.
Here is a picture of my test program.

You need to getDetailText like this:

or just use this:
image

Ok thanks

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.