file_chooser.py 文件源码

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

项目:Ebook-Viewer 作者: michaldaniel 项目源码 文件源码
def __add_imports(self, dialog):
        filter_text = Gtk.FileFilter()
        filter_text.set_name(_("Importable files"))
        for extension in constants.IMPORTABLES:
            filter_text.add_pattern("*" + extension.upper())
            filter_text.add_pattern("*" + extension.lower())
        dialog.add_filter(filter_text)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号