Kodi Community Forum

Full Version: How to call a method of the Window instance which is currently active / visible
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dear all,
My problem is the following:
-In my addon, I create my own windowXML, then I show it with DoModal
-Via JSON RPC, I call my addon again and again.
So I wonder whether from the second call to my JSON RPC, I can check that the Addon was created / initialized. If it is the case, how can I retrieve back the object of my window and call its member.
With getCurrentWindowID I can retrieve the ID of the current window, but then can I get the window object possessing that ID?
Many thanks for your hints to help me get over these obstacles