Hi all,
i have coded an extra window that gets initialized with:
def myWindow():
dialog = MyWindow('myWindow.xml', ADDON_PATH, 'default', '720p')
dialog.doModal()
del dialog
That works great, within this new Window i can use “def onClick(self,controlId):” and “def onAction(self,action):” and the like to “capture” user inputs.
Now my question, is that also possible for the Home Window ID 10000?
I’ve already managed to have a Panel with ID 27400 in the Home Window, i can add Items to it with:
xbmcgui.Window(10000).getControl(27400).addItems(items)
(Where items is a list of ListItems…)
But for these items in that Panel, how do i “capture” it when i click/focus them, just like i do with “onClick(self,controlId)” in an extra window?
If anyone could hint me to an examlpe plugin where this is done or something, it would great – i am sure its possible Thank YOU!