I want to add multiple selections to my Addon. Like Check boxes... Like Selecting Multiple Channels from a List. I think u know what I meaning. And I want to Write it to a xml file...
Is there have any method?
Ooh. I like this. This will look much better than my clumsy use of dialogselect and marking select items with a star!
(2015-09-01, 08:15)Roman_V_M Wrote: [ -> ]AFAIK the Kodi multi-select dialog is not available for Python addons.
if you run a nightly build, you can use the multi select dialog in python:
7750 (PR)
Quote:multiselect(heading, list [,autoclose]) -- Show a multi-select dialog.
heading : string or unicode - dialog heading.
options : list of string - options to choose from.
autoclose : [opt] integer - milliseconds to autoclose dialog. (default=do not autoclose)
*Note, Returns the selected items as a list of indices, or None if cancelled.
example:
- dialog = xbmcgui.Dialog()
- ret = dialog.multiselect("Choose something", ["Foo", "Bar", "Baz"])
(2015-09-01, 10:28)ronie Wrote: [ -> ]if you run a nightly build, you can use the multi select dialog in python:
7750 (PR)
Do you know the time frame for this coming to Kodi stable?
(2015-09-01, 13:25)eirki Wrote: [ -> ] (2015-09-01, 10:28)ronie Wrote: [ -> ]if you run a nightly build, you can use the multi select dialog in python:
7750 (PR)
Do you know the time frame for this coming to Kodi stable?
nope, we haven't made a release schedule for jarvis yet.