2014-02-23, 12:41
hi
im new to xbmc, i've searched in internet and wasnt able to get a answaer to this
so i have a window, designed in xml, putted in 720p folder of my skin directory. with id 1231. it contains some controls like textbox, label and list.
now i want to modify my controls on that windows. by 'modify' i mean changing displaying text, and filling list control. from my python script, of course.
i saw a lot of example code on the net that created windows from script. but i have my xml windows and i want to manipulate them.
that's the scenario.
well, i stuck on first step . i cant get the window object. this is my code:
to get window, for further manipulations on controls, and it fails.
xbmc says: "script failed!" when i try to run it.
any help will be appreciated.
(a sub-question: script's can manipulate list controls? i read something about that they are not accessible for adding items or something ... )
best wishes
im new to xbmc, i've searched in internet and wasnt able to get a answaer to this
so i have a window, designed in xml, putted in 720p folder of my skin directory. with id 1231. it contains some controls like textbox, label and list.
now i want to modify my controls on that windows. by 'modify' i mean changing displaying text, and filling list control. from my python script, of course.
i saw a lot of example code on the net that created windows from script. but i have my xml windows and i want to manipulate them.
that's the scenario.
well, i stuck on first step . i cant get the window object. this is my code:
PHP Code:
win = xbmcgui.Window(1231)
xbmc says: "script failed!" when i try to run it.
any help will be appreciated.
(a sub-question: script's can manipulate list controls? i read something about that they are not accessible for adding items or something ... )
best wishes