Kodi Community Forum
dialog xml's - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: dialog xml's (/showthread.php?tid=178517)



dialog xml's - Michael_P - 2013-11-21

Is it possible to change the appearance/location of the dialog.ok or dialog.yesno popups simply by editing the xml of the popup name?

ie if I wanted to add a third feature on a yesno popup to say 'later' for example, can that be achieved by only adjusting the xml of the skin or does it also need to be in another place?

I test on confluence 720

edit: after further reading I found that xbmcgui.Dialog.select() will actually serve my purpose but I would still be interested in the answer if anyone knows.


RE: dialog xml's - jmarshall - 2013-11-21

If you add a button to the XML then you may get notifications of clicks in your derived dialog class in python - not sure to be honest.

It's not particularly good practice if you want your script to be portable ofc.


RE: dialog xml's - Michael_P - 2013-11-21

Ok thanks, I will learn more about it before trying anything. I hope to make it portable.