guis.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:script.reddit.reader 作者: gedisony 项目源码 文件源码
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)]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号