2005-05-31, 16:17
i have a list and want to use an icon in each listentry
the xbmcgui docs describe:
how do you apply this ?
i assume that you do this at the time that the list is being filled ?
i have tried several things
e.g
the xbmcgui docs describe:
Quote:additem(...)
additem(item) -- add a new item to this control list.
item can be a string / unicode string or a listitem.
Quote:class listitem
setthumbnailimage(...)
setthumbnailimage(string iconname) -- sets the listitem's thumbnail image.
how do you apply this ?
i assume that you do this at the time that the list is being filled ?
i have tried several things
e.g
Quote:self.list.additem(m.name).setthumbnailimage(thumb)??