2014-04-08, 09:35
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?
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?