Absolute position of selected item in a container
#1
me again.

i've already asked this questions in a reply to a post by me. so i'll repost it in a separate thread:

following problem:

i'd need the _absolute_ position of the selected container item (seen from the 'real' beginning of the Container).

xbmc.getInfoLabel("Container.Position") returns the relative position in the elements that are currently visibile

why do i need this:
i transfer information for all container elements to an external daemon and, when the current skin is in some list view (list or big list) i also want to send the absolute position of the currently selected element (the daemon might display more or less items than xbmc so the relative position returned by Container.Position is _not_ usable).
Reply
#2
me too!!

im currently working on a script where im retreiving some data from the database and i could really use a "Container(id).AbsolutePosition".

It would also be useful in a skinning purpose - http://forum.xbmc.org/showthread.php?tid...t=position

so +1 from me!

cheers
c_bb
Reply

Logout Mark Read Team Forum Stats Members Help
Absolute position of selected item in a container1