ConfigEditor.py 文件源码

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

项目:stash-scanner 作者: senuido 项目源码 文件源码
def __init__(self, master, app_main, **kwargs):
        super().__init__(master, **kwargs)

        # style = Style()
        # if we do this we also need to hide the #0 column because it adds indention for possible children
        # style.configure("Treeview.Heading", padding=(10, 0))

        # self.protocol('WM_DELETE_WINDOW', self.onClose)
        # self.nb_tabs = Notebook(self)

        # self.create_iprice_tab()
        self.prices_editor = PricesEditor(self)
        self.currency_editor = CurrencyEditor(self)
        self.settings_editor = SettingsEditor(self, app_main)
        # self.add(self.frm_iprices_tab, text='Item Prices', sticky='nsew')

        self.add(self.settings_editor, text='General', sticky='nsew')
        self.add(self.prices_editor, text='Prices', sticky='nsew')
        self.add(self.currency_editor, text='Currency', sticky='nsew')
        self.bind('<<NotebookTabChanged>>', self.onTabChange)

        self.settings_editor_id, self.prices_tab_id, self.currency_tab_id = self.tabs()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号