v18 Python WindowXML onAction propagation...
#1
I have created custom xml window in my addon.  Since python windows get dynamic window ids, i.e. id in xm is not used which makes creating reliable key mapping for the window not very reliable, I was using onAction to get the key/button code to handle actions.  It seems to work but I can't figure out how to tell Kodi to stop propagating the event/action since onAction return value is ignored.  

So is there way to make Windows created in python get assigned id, thus use keymaps, or stop propagation of the action event if python window process/handles it?  Example of the issue is python window, opened with global key mapping ctrl+c, trying to close itself if ctrl+c is pressed while open, much like the Power options/Shutdown menu (key mapping s).
Reply

Logout Mark Read Team Forum Stats Members Help
Python WindowXML onAction propagation...0