feed.py 文件源码

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

项目:hubangl 作者: soonum 项目源码 文件源码
def _switch_widget_icons(self, widget, icon_id):
        """
        Switch icon type version ``regular`` to ``activated`` or the other way
        around depending on ``widget`` current icon.

        :param widget: :class:`Gtk.ToolButton`
        :param icon_id: icon name as :class:`str`
        """
        icon = self.images.switch_icon_version(icon_id, widget.get_icon_widget())
        widget.set_icon_widget(icon)
        widget.show_all()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号