alert.py 文件源码

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

项目:Postgres-GUI 作者: atlast 项目源码 文件源码
def __init__(self, message, window):
        d = Gtk.Dialog(
            title="Alert",
            parent=window,
            flags=1,
            buttons=("Ok", Gtk.ResponseType.CANCEL)
        )
        label = Gtk.Label(message)
        label.set_padding(40, 30)
        d.vbox.add(label)
        d.show_all()
        d.run()
        d.destroy()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号