#!/usr/bin/env python
from Tkinter import *
from tkMessageBox import showinfo
def reply( ):
showinfo(title='popup', message='Button pressed!')
window = Tk( )
button = Button(window, text='press', command=reply)
button.pack( )
window.mainloop( )
用户登录
还没有账号?立即注册
用户注册
投稿取消
| 文章分类: |
|
还能输入300字
上传中....
你猜我不告诉你