def __init__(self, *args, **kwargs):
xbmcgui.WindowXML.__init__(self, *args, **kwargs)
self.listing = kwargs.get("listing")
self.title_bar_text=kwargs.get("title")
self.poster=kwargs.get("poster")
self.main_control_id = None #not used, left here so that we can use the base class methods without error. onClick()
self.exit_monitor = ExitMonitor(self.close_gui)#monitors for abortRequested and calls close on the gui
#can't dynamically create an auto-height textbox inside a grouplist
# so we make x of them in the xml and hope they're enough
# these are their id's
self.x_controls=[x for x in range(1000, 1021)]
评论列表
文章目录