def __init__(self, heading, line1='', line2='', line3='', background=False, active=True):
if active:
if background:
self.pd = xbmcgui.DialogProgressBG()
msg = line1 + line2 + line3
self.pd.create(heading, msg)
else:
self.pd = xbmcgui.DialogProgress()
self.pd.create(heading, line1, line2, line3)
self.background = background
self.heading = heading
self.pd.update(0)
else:
self.pd = None
评论列表
文章目录