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()
评论列表
文章目录