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!

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 2004-03-25, 01:07   #1
alx5962
Senior Member
 
Join Date: Jan 2004
Posts: 174
alx5962 is on a distinguished road
Default Python Development Documentations (outdated)

in the cvs, doc folder, pythonreadme.txt
that's all the doc available for now.
i planned to write one but it's too boring and if i suceeded to code python on xbox without documentation, other people can too!
alx5962 is offline  
Old 2004-03-30, 23:52   #2
alx5962
Senior Member
 
Join Date: Jan 2004
Posts: 174
alx5962 is on a distinguished road
Default

python docs

i started to write this documentation but i need a volunteer to correct my english grammar mistakes *
it's a beginner's guide so everyone is welcome to help out with writting it.



alx5962 is offline  
Old 2004-04-12, 22:54   #3
darkie
Team-XBMC Developer
 
Join Date: Sep 2003
Posts: 530
darkie is on a distinguished road
Default

i have added a new file to cvs called makedoc.py in the scripts directory. it will generate html files of xbmc and xbmcgui which will be placed in q:\\doc\\python.



__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


darkie is offline  
Old 2004-04-22, 15:20   #4
alx5962
Senior Member
 
Join Date: Jan 2004
Posts: 174
alx5962 is on a distinguished road
Default

documentation updated!

added new functions, corrected bugs and also added new tutorials.

get it here



alx5962 is offline  
Old 2004-07-21, 18:38   #5
Alexpoet
Skilled Python Coder
 
Join Date: Jun 2004
Location: Oklahoma City, OK
Posts: 172
Alexpoet is on a distinguished road
Default

there is a new version of the tutorial available on my website (linked below). this is a complete revision, but it still covers primarily the same material.

so if you've already read alx5962's tutorial and understood it, you probably won't get much more out of the new version.

but, if you're new to python scripting for the xbox, i think it will be a little easier to read, and it also now comes with a script template to make starting new scripts a little faster/easier.

hope you enjoy. as always, feedback is welcome.
__________________
For scripts, script development tools, and documentation, visit my website:
http://www.maskedfox.com/xbmc/
Alexpoet is offline  
Old 2004-12-14, 16:15   #6
Asteron
"Skilled" Python Coder
 
Asteron's Avatar
 
Join Date: Feb 2004
Posts: 941
Asteron is on a distinguished road
Default

a great python reference for those who have programming experience but not in python is

python 2.3 quick reference guide

it brought me up to speed with how things are done in python land very quickly without being bogged down with the basics of programming.

-asteron
Asteron is offline  
Old 2005-04-05, 23:31   #7
Asteron
"Skilled" Python Coder
 
Asteron's Avatar
 
Join Date: Feb 2004
Posts: 941
Asteron is on a distinguished road
Default

thor918's more recent python docs


xbmc.html

xbmcgui.html
Asteron is offline  
Old 2005-04-11, 02:39   #8
bakman
Member
 
Join Date: Mar 2005
Posts: 99
bakman is on a distinguished road
Default

Quote:
Originally Posted by (asteron @ april 05 2005,21:31)
thor918's more recent python docs


xbmc.html

xbmcgui.html
that documentation describes the:
Quote:
class controllist(control)
* *controllist class.

controllist(
* x, y, width, height, font, textcolor,
* buttontexture, buttonfocustexture,
* selectedcolor, imagewidth, imageheight,
* itemtextxoffset, itemtextyoffset,
* itemheight, space, alignmenty )

x * * * * * * * * *: integer x coordinate of control
y * * * * * * * * *: integer y coordinate of control
width * * * * * * *: integer width of control
height * * * * * * : integer height of control
font * * * * * * * : font used for label text e.g. 'font13' (opt)
textcolor * * * * *: color of item text e.g. '0xffffffff' (opt)
buttontexture * * *: texture filename for item (opt)
buttonfocustexture : texture filename for focused item (opt)
selectedcolor * * *: color of selected item text e.g. '0xffffffff' (opt)
imagewidth * * * * : integer width of item icon or thumbnail (opt)
imageheight * * * *: integer height of item icon or thumbnail (opt)
itemtextxoffset * *: integer x offset of item label (opt)
itemtextyoffset * *: integer y offset of item label (opt)
itemheight * * * * : integer height item (opt)
space * * * * * * *: integer space between items (opt)
alignmenty * * * * : integer y-axis alignment - see xbfont.h (opt)
how do i make use of the "selectedcolor" ? once i add some of the properties, i get debug error stating that i am passing too many arguments to the controllist. i am confused with this stuff, as some stuff can be set separately (eg. self.list.setitemheight) but cannot be passed at the time of creation of the control ?
pls enlighten me *:bomb:
bakman is offline  
Old 2005-04-11, 09:30   #9
jmarshall
Team-XBMC Developer
 
Join Date: Oct 2003
Posts: 15,077
jmarshall is on a distinguished road
Default

sounds like you haven't updated xbmc.
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


jmarshall is offline  
Old 2005-04-11, 21:05   #10
bakman
Member
 
Join Date: Mar 2005
Posts: 99
bakman is on a distinguished road
Default

Quote:
Originally Posted by (jmarshall @ april 11 2005,07:30)
sounds like you haven't updated xbmc.
i have xbmc with an april 6th release. still no luck (my favorite feature is now gone as well reboot via the joystick), falling back now :d
bakman is offline  
Closed Thread

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
Python Development Tools and modules/libraries for XBMC Scripters (outdated) Alexpoet Plugin/Script (Python) Development 10 2006-10-03 15:05
Python Interpreter Development "Python Inside" darkie Plugin/Script (Python) Development 42 2005-09-19 09:07
Dashboard development for .com or possible python CaVleX Plugin/Script (Python) Help and Support 0 2005-05-06 18:27
Python Scripts Development Blackbelt Plugin/Script (Python) Development 106 2004-04-09 16:12
Python TV-Guide development? nlemoz Plugin/Script (Python) Development 13 2004-04-08 10:15


All times are GMT +2. The time now is 15:29.


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