2015-07-30, 17:00
Can you focus to a specified line using xbmcgui.dialog().select?
ex:
docs:
ex:
Code:
select = xbmcgui.Dialog().select(header, list.selectitem[i], autoclose)
docs:
Code:
select(self, heading, list, autoclose=0)
Show a select dialog.
heading: string or unicode - dialog heading.
list: string list - list of items.
autoclose: integer - milliseconds to autoclose dialog.
Note:
autoclose = 0 - This disables autoclose.
Returns the position of the highlighted item as an integer.
Example:
dialog = xbmcgui.Dialog()
ret = dialog.select('Choose a playlist', ['Playlist #1', 'Playlist #2, 'Playlist #3'])