Image buttons - 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: Image buttons (/showthread.php?tid=8624) |
- barranger - 2004-12-29 hello there, could someone please explain to me how you create image buttons? i read the documentation and it states that the controlbutton constructor will take in two image file names for focus image and non-focus image. i tried this: Quote:self.button0 = xbmcgui.controlbutton(250, 150, 120, 30, "test", "q:\\background.jpg", "q:\\background.jpg") but it just shows the button as if i had written this. Quote:self.button0 = xbmcgui.controlbutton(250, 150, 120, 30, "test") i'm using the emulator scripts on winxp python version 2.3 thanks for any help anyone can offer |