xbmc
|
GUI xml window class. More...
![]() |
Modules | |
Subclass - WindowDialogXML | |
GUI xml window dialog | |
Classes | |
class | XBMCAddon::xbmcgui::WindowXML |
GUI xml window class.
{ xbmcgui.WindowXML(xmlFilename, scriptPath[, defaultSkin, defaultRes]) }
Creates a new xml file based window class.
Window
.xmlFilename | string - the name of the xml file to look for. |
scriptPath | string - path to script. used to fallback to if the xml doesn't exist in the current skin. (eg xbmcaddon.Addon().getAddonInfo('path')) |
defaultSkin | [opt] string - name of the folder in the skins path to look in for the xml. (default='Default') |
defaultRes | [opt] string - default skins resolution. (1080i, 720p, ntsc16x9, ntsc, pal16x9 or pal. default='720p') |
isMedia | [opt] bool - if False, create a regular window. if True, create a mediawindow. (default=False) |
Exception | if more then 200 windows are created. |
Deleting this window will activate the old window that was active and resets (not delete) all controls that are associated with this window.
New param added isMedia.
Example:
On functions defined input variable controlId
(GUI control identifier) is the on window.xml defined value behind type added with id="..."
and used to identify for changes there and on callbacks.