Class listitem ?
#1
i have a list and want to use an icon in each listentry

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)
??
Reply
#2
ok got it.

Quote:item = xbmcgui.listitem(m.name, m.zenderid,"", thumb)

self.zenders.additem(item)
:fixed:
Reply

Logout Mark Read Team Forum Stats Members Help
Class listitem ?0