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: [email protected]'

        )

 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()

你可能感兴趣的:(out)