barranger
2004-12-29, 21:00
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:
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.
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
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:
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.
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