PDA

View Full Version : Window numbers


nishil
2005-01-09, 18:54
how do i start another window from a python script , for instance show the weather screen after a user presses a button , also what are the codes for each screen?

Asteron
2005-01-11, 07:08
try
xbmcgui.window(number).show()
the easiest way i know about getting the numbers is to look at the xml files in the skin dir.

(theyre at the top at each windows xml file and if you look at the xml of a control that activates that window like the buttons in the main screens xml you'll see it there too)

jmarshall
2005-01-11, 14:32
even easier:

http://cvs.sourceforge.net/viewcvs....=markup (http://cvs.sourceforge.net/viewcvs.py/xbmc/xbmc/guilib/key.h?view=markup)

i'll add it to the online manual skinning section.