ListItem help..... can i get a little?
#1
in the wiki it says that these are the availabe tags for list items

Code:
<content>
  <item id="1">
    <label>My First Item</label>
    <label2>Item 1, Label 2</label2>
    <icon>icon1.png</icon>
    <thumb>thumb1.png</thumb>
    <onclick>ActivateWindow(Home)</onclick>
    <visible>true</visible>
    <property name="key">Item 1, Property(key)</property>
    <property name="key2">Item 1, Property(key2)</property>
  </item>

however when one references the icon via "Container(foo).ListItem.Icon"
what actually gets called is <thumb>
is icon not relevant at all?

I ask because i need a item to store two image references. And if the actual <icon> tag is able to be referenced that would be advantageous.
Reply
#2
Never mind in my frustraction i actualy typed in Container(foo).ListItem.ActualIcon (because that's what i wanted to access) and to my suprise that did the trick....

i wish the wiki was more clear on things like this and perhaps more skinners would rise up and contribute.
I mean its nice to dissect skins to find out how to do things, but when you're looking for a specific thing a RTFM goto source is a good idea.. Since actually browsing through a skin can be a difficult things with all the includes and cross referencing,.
Reply
#3
Glad you got it sorted. Regarding the documentation, feel free to:

1. Make it better.
2. Suggest how to make it better.
3. Even link to a page where it's non-obvious what things do.

ListItem.ActualIcon is definitely documented in the skin docs:

http://wiki.xbmc.org/index.php?title=InfoLabels

Cheers,
Jonathan
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

Logout Mark Read Team Forum Stats Members Help
ListItem help..... can i get a little?0