gedi.py 文件源码

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

项目:gedi 作者: isamert 项目源码 文件源码
def get_icon_for_type(self, _type):
        theme = Gtk.IconTheme.get_default()
        try:
            return theme.load_icon(icon_names[_type.lower()], 16, 0)
        except:
            try:
                return theme.load_icon(Gtk.STOCK_ADD, 16, 0)
            except:
                return None
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号