Addon Skinning questions
#1
Is it possible to have a type of button defined in an addon skin xml and then repeat it from the python code?

For example, I have a window with 6 wraplists of all the same look and feel. I cant create the wraplist via python code, so do I need to have 6 different entries in the XML or can I somehow specify that id="222" is the template, and use copies of that template in a grouplist?

Also, am I right in thinking that some things found in the AddonSettings.xml, like the slider, cannot be used in an addons skin? Does the addon writer have to recreate it?

ta

Oh wait! Can I just use multiple conditional includes within a group list?!?

They exist, right? Conditional includes? I didnt just imagine them. Right?
Reply
#2
i'm afraid all you questions will have to be answered with: no.

addons can not use includes, templates or sliders.
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
#3
Thanks for the response ronie, that is actually very helpful.

It lets me know exactly what I have to do; fill the xml up with extra everythings, and then control the visibility and layout using python.
Reply

Logout Mark Read Team Forum Stats Members Help
Addon Skinning questions0