simple window with list - 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: simple window with list (/showthread.php?tid=180205) |
simple window with list - Pynto R - 2013-12-11 I'm trying to implement a simple window with list (like ign addon, or youtube, or wtvr), that shows after some processing. For some reason, the tutorial 1 gives me an error (http://wiki.xbmc.org/index.php?title=HOW-TO_write_Python_Scripts) where W = BlahMainWindow() needs some arg... Anyway, I'm kind of lost and dont know where to look, any help appreciated RE: simple window with list - foomanshoe - 2013-12-11 You'll need to provide some sample code, or full traceback. RE: simple window with list - User 191275 - 2013-12-11 If all you really want to do is show a list of files (and folders), you don't need to create a window at all. You just need to create list items and add them to XBMC. I'm actually working on a tutorial for this, since the existing tutorials aren't very helpful. You can take a look at the work-in-progress here: http://wiki.xbmc.org/index.php?title=User:Pline RE: simple window with list - Roman_V_M - 2013-12-12 IIRC, somebody has already posted here that in Gotham due to some bug (?) you need to provide a window ID (or -1) explicitly when instantiating a xbmcgui.Window class. |