Kodi Community Forum
Open Select Dialog With onClick Action - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Open Select Dialog With onClick Action (/showthread.php?tid=295181)



Open Select Dialog With onClick Action - hawkeyexp - 2016-10-29

Hi @ all,

neeed some help to solve a problem:

i want to open a select dialog with pushing a button (onclick) to write the selected value from the opened list to a skin string. How can i release this ? The list shlould be static with predefined values.

Thx


RE: Open Select Dialog With onClick Action - Rantanplan-1 - 2016-10-29

Not used myself thil now, but may this helps:

Quote:2016-03-13 changed built-in function

we've made a change to the recently introduced Skin.SelectBool() built-in function.
skins can (mandatory) now define the header label of the select dialog as well:

Code:
Skin.SelectBool(424, 31411|RecentWidget, 31412|RandomWidget, 31413|InProgressWidget)
(where the first id is the string id of the header label)

git commit: https://github.com/xbmc/xbmc/commit/2ecc21ce9e6bb71a813473c0dbe7b0c709c9c745
pull request: 9317 (PR)



RE: Open Select Dialog With onClick Action - ronie - 2016-10-29

i don't claim to have the slightest understanding of what you're trying to do :-)
but there's a pr pending for skin strings as well.

https://github.com/xbmc/xbmc/pull/10787