Solved Unblocking Window
#1
Is it possible to Show an Gif Image+ Text on Screen Without locking the Kodi. Every Window i know Locks Kodi (Like "Updating Library"). No Navigation in Kodi is Avaible
Reply
#2
if it's just a few lines of text + small image, you could use:
http://mirrors.xbmc.org/docs/python-docs...tification

else, you would need to use the window class:
http://mirrors.xbmc.org/docs/python-docs...tml#Window
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
(2016-01-12, 23:42)ronie Wrote: if it's just a few lines of text + small image, you could use:
http://mirrors.xbmc.org/docs/python-docs...tification

else, you would need to use the window class:
http://mirrors.xbmc.org/docs/python-docs...tml#Window

Dialog-notification, seems to work the way i want.
But it cant be Positioned . And it as only the Icon

Winow, seems to be always Full Screen. an all Controls goes to the Window,not to the Kodi Gui. So Kodi Gui cant be controled while showing the Image

Am i correct?
Reply
#4
(2016-01-13, 15:12)L0RE Wrote:
(2016-01-12, 23:42)ronie Wrote: if it's just a few lines of text + small image, you could use:
http://mirrors.xbmc.org/docs/python-docs...tification

else, you would need to use the window class:
http://mirrors.xbmc.org/docs/python-docs...tml#Window

Dialog-notification, seems to work the way i want.
But it cant be Positioned . And it as only the Icon
correct, it's using the xml from the skin you're using.

(2016-01-13, 15:12)L0RE Wrote: Winow, seems to be always Full Screen. an all Controls goes to the Window,not to the Kodi Gui. So Kodi Gui cant be controled while showing the Image

Am i correct?

not sure what you mean exactly...
but no, if you add controls to the window, it will not block.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
(2016-01-14, 01:25)ronie Wrote: not sure what you mean exactly...

I made en Example Plugin to show what i am meaning

http://l0re.com/service.test.zip
Reply
#6
it's because you're using the WindowDialog class.

if you use the Window class, you can simple add controls to the window that's currently visible.

Code:
import xbmcgui

wid = xbmcgui.getCurrentWindowId()
window=xbmcgui.Window(wid)
testlabel=xbmcgui.ControlLabel (100, 100, 100, 100, "Test")
window.addControl(testlabel)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
Thanks its now working.
Now It works to View My Twitter Timeline in Kodi without interference :-)
Reply

Logout Mark Read Team Forum Stats Members Help
Unblocking Window0