`
scm002
  • 浏览: 309897 次
社区版块
存档分类
最新评论

Pmw about

 
阅读更多

#!/usr/bin/python

import Pmw
from tkinter import *

root =Tk()

def About_button():
 Pmw.aboutversion('1.0')
 Pmw.aboutcopyright('Copyright My Company 2012\nAll rights reserved')
 Pmw.aboutcontact(

            'For information about this application contact:\n' +

            '  My Help Desk\n' +

            '  Phone: +61 2 9876 5432\n' +

            '  Email: scm002@gmail.com'

        )

 about = Pmw.AboutDialog(applicationname = 'Build Tools')
 about.withdraw()
 about.show()

# Create button to launch the dialog.
w = Button(text = 'About',command = About_button)
w.pack(padx = 8, pady = 8)

root.mainloop()

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics