2015-08-07, 13:03
wen create a window like this
after executing the plugin the window is bloked there are the working logo and i can't click any thing befor clicking right-click then become able to click any item is there any method to resolve the problem and change the window to become able to use from the first click
Code:
import xbmcgui
class winE(xbmcgui.Window):
def __init__(self):
super(winE,self).__init__()
self.btn1=xbmcgui.ControlButton(0,0,500,50,'ajouter des media')
self.addControl(self.btn1)
def onControl(self,c):
if self.btn1==c:
self.close()
w=winE()
w.doModal()