Were can I find information for id predefined?
#1
Question 
Hi,

I'm starting skin for me. But I am confused about id. For example, I want add new menu on home menu bar.
And I need to define the id for new menu item on the bar without conflicting existing one.

In WiKi tutorial, there is a example (http://wiki.xbmc.org/index.php?title=HOW...skin_files)
It is saying id="7" for weather. But in Window ID link(http://wiki.xbmc.org/index.php?title=Window_IDs) linked in that page is saying the "7" is for system info. FYI, I'm studying with Frodo of which home.xml saying "7" for weather.

1. Were can I find information for id predefined?
2. Also where can I find the predefined label of the menu (i.e Weather, Video, Music, Programs.. on the menu bar)?

thanks
Logan
Reply
#2
The id "7" you're referring to is the id of the item in the list. That's unrelated to the window ID.

See IncludesHomeMenu.xml or thereabouts.
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.


Image
Reply
#3
Thank you for clearance about id.
I was just confused due to the link of Window ID in that page. Anyway Now cleared.

And I finally found that the label of main menu is in string.po.
In fact, I had searched the string.xml file which don't exist in default build. Anyway I found those main menu strings are in string.po file.

thanks
Logan
Reply

Logout Mark Read Team Forum Stats Members Help
Were can I find information for id predefined?0