Changes to the python API for Kodi Krypton
#31
2016-10-16 xbmcgui.Dialog().select() - additions

- you can now also pass listitems to the select dialog

- the new 'useDetails' keyword can be used to enable the detailed mode of the selectdialog
in this mode, ListItem.Label2 and ListItem.Icon will also be shown
(in the standard mode, only ListItem.Label is shown in the dialog)

Code:
ret = dialog.select('header label', list=listitems, useDetails=True)

pull request: https://github.com/xbmc/xbmc/pull/10586
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply


Messages In This Thread
RE: Changes to the python API for Kodi Krypton - by ronie - 2016-10-16, 23:40
Logout Mark Read Team Forum Stats Members Help
Changes to the python API for Kodi Krypton1