main.py 文件源码

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

项目:mastodon-gtk 作者: GabMus 项目源码 文件源码
def add_image_to_flowbox(path):
    pbuf=GdkPixbuf.Pixbuf().new_from_file_at_scale(path, -1, 100, True)
    img_w=Gtk.Image()
    img_w.set_from_pixbuf(pbuf)
    toot_image_flowbox.insert(img_w, -1)
    img_w.show()
    img_w.value=path
    images_to_toot.append(path)
    update_show_delete()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号