XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Plugin/Script (Python) Development

Plugin/Script (Python) Development Developers forum for XBMC Python Plugins/Scripts. Scripters/coders only!
Not for posting feature requests, bugs, or end-user support requests!

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-04-24, 22:47   #1
nianhbg
Member
 
Join Date: Mar 2004
Location: sweden
Posts: 82
nianhbg is on a distinguished road
Default

hello can i create a image button in pyhton. i can't get my code to work

Quote:
self.cmbutton = xbmcgui.controlbutton(50, 200, 32, 32,'','q:\\scripts\\images.png','')
self.addcontrol(self.cmbutton)
no image are showing
__________________
Livingroom: one xbox 1.1 executer 2.3 chip 120 GB in HD 720p mode
Bedroom: Computer Intel Quad 9400, 8 GB RAM, NVIDIA GTX260, Vista Ultimate 64, Ubuntu Jaunty 9.04
nianhbg is offline   Reply With Quote
Old 2004-04-25, 01:51   #2
zilvershadow
Senior Member
 
Join Date: Oct 2003
Location: Netherlands
Posts: 136
zilvershadow is on a distinguished road
Default

take a look at the documentation file, above this site you can download a tutorial.
http://www.gueux.net/xbmc-scripts/index.html
__________________
greets,

zilvershadow
designer of the kmlbrowser script.
zilvershadow is offline   Reply With Quote
Old 2004-04-25, 06:59   #3
madtw
Senior Member
 
Join Date: Mar 2004
Posts: 174
madtw is on a distinguished road
Default

Quote:
Originally Posted by (nianhbg @ april 24 2004,13:47)
hello can i create a image button in pyhton. i can't get my code to work

Quote:
self.cmbutton = xbmcgui.controlbutton(50, 200, 32, 32,'','q:\\scripts\\images.png','')
self.addcontrol(self.cmbutton)
no image are showing
you need to create a window first and then add the control to the window...
madtw is offline   Reply With Quote
Old 2004-04-25, 14:38   #4
nianhbg
Member
 
Join Date: Mar 2004
Location: sweden
Posts: 82
nianhbg is on a distinguished road
Default

thanks i got it working.

i currently working on a tvscript for sweden
__________________
Livingroom: one xbox 1.1 executer 2.3 chip 120 GB in HD 720p mode
Bedroom: Computer Intel Quad 9400, 8 GB RAM, NVIDIA GTX260, Vista Ultimate 64, Ubuntu Jaunty 9.04
nianhbg is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Thanks for creating XBMC jonb2 XBMC General Discussion 0 2006-09-21 06:23
creating a shortcut JMan XBMC for Xbox Specific Support 2 2005-12-29 04:59
Creating m$ soundtracks WolfofRuin XBMC for Xbox Specific Support 0 2004-09-12 17:36
Creating Bookmarks dumbstart XBMC for Xbox Specific Support 0 2004-05-31 01:10


All times are GMT +2. The time now is 16:40.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project