Kodi Community Forum
setStaticContent( ) setPath. Nothing happens - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: setStaticContent( ) setPath. Nothing happens (/showthread.php?tid=200336)



setStaticContent( ) setPath. Nothing happens - luka - 2014-07-21

Hi guys,
I am starting following script on load of window video (10025) to fill my list control with static content

PHP Code:
win xbmcgui.Window(10025# id Myvideonav.xml
myListControlwin.getControl(10548)

staticItems = [ ]

item xbmcgui.ListItem('Item1')
item.setPath('Notification(header,item1 clicked)')
staticItems.append(item)

myListControl.setStaticContent(staticItems

It will show item, but I click item. Nothing happens
So, what is real path?
Thanks for read
Cheer!