2014-12-22, 14:31
(2014-12-22, 13:50)Roman_V_M Wrote: 2 MGA1500
I'm glad that your experiments are successful.
However, I take back my comments about the parent window needs to be closed before opening a child window. According to my quick experiments, a child window can be opened on top of the parent. The only problem I see that since the windows have semi-transparent background you can see the parent window through the child. But, as I said, I took ready-made textures from Confluence skin because my graphic skills are very limited.
But I've done only some brief experiments and do not guarantee that problems with window priorities won't happen. Closing the parent window seems to be a safe option.
Hi Roman,
I repeated your experiment and indeed it seems possible. There is a slight improvement in reaction time as the closewindow animation does not need to be performed. A non-transparent background should suffice to completely hide the main window. Personally I do not like transparent addon windows (eg openelec configuration settings addon) but that may be just me ;-)
It is tricky to rely on untested window priorities, in that sense better safe than sorry and closing the main window first. For the time being I will comment-out the close window with a good remark on the risk!
Having another question now, building further on the addon: pyXBMCt does not have a 'browse-to-a-file' dialog, does it? If so I will use the regular xbmcgui class Dialog.Browse for that...
Regards, MGA