ListItem fromString and offscreen=True
#31
yeah, when you call addItem() / addItems() the listitem(s) will be shown on screen.

i guess when you want to modify a listitem after it has been added, you'd need to set offscreen to False.
listitem = xbmcgui.ListItem('Foo', offscreen=False)
self.addItem(listitem)
...
listitem.setLabel('Bar')
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
ListItem fromString and offscreen=True00