2011-01-26, 19:33
Hi,
Is it possible to restart an addon (script)? Is there any function to do this?
Also, in the addon I'm developing, I have a language folder in resources/ but all the Window XML files in resources/skins/default/720p that have string Ids in labels or buttons do not get correctly updated. I mean, all the label and buttons text that is defined through a string id in the window xml files do not get any text. If I do it through code (using getLocalizedString) then it works.
Another question: I want to use my own fonts in my addon. I added the fonts in resources/skins/default/fonts and added a Font.xml in resources/skins/default/720p. However, the Font.xml is not read and my fonts then are not available... Is it possible to do this any other way?
I'm using Dharma.
Thanks
Is it possible to restart an addon (script)? Is there any function to do this?
Also, in the addon I'm developing, I have a language folder in resources/ but all the Window XML files in resources/skins/default/720p that have string Ids in labels or buttons do not get correctly updated. I mean, all the label and buttons text that is defined through a string id in the window xml files do not get any text. If I do it through code (using getLocalizedString) then it works.
Another question: I want to use my own fonts in my addon. I added the fonts in resources/skins/default/fonts and added a Font.xml in resources/skins/default/720p. However, the Font.xml is not read and my fonts then are not available... Is it possible to do this any other way?
I'm using Dharma.
Thanks