Python Pmw

 

#!/usr/bin/python

 

import Pmw

from tkinter import *

 

root =Tk()

Pmw.aboutversion('9.9')

Pmw.aboutcopyright('Copyright My Company 1999\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 = 'My Application')

about.withdraw()

 

        # Create button to launch the dialog.

w = Button(text = 'Show about dialog',

                command = about.show())

w.pack(padx = 8, pady = 8)

 

 

root.mainloop()

 

 

 

 

 

http://pmw.sourceforge.net/

Pmw reference manual
index

 

Base classes
Pmw.MegaArchetype  Pmw.MegaWidget  Pmw.MegaToplevel
Widgets
Pmw.ButtonBox  Pmw.ComboBox  Pmw.Counter  Pmw.EntryField  Pmw.Group  Pmw.HistoryText  Pmw.LabeledWidget  Pmw.MainMenuBar  Pmw.MenuBar  Pmw.MessageBar  Pmw.NoteBook  Pmw.OptionMenu  Pmw.PanedWidget  Pmw.RadioSelect  Pmw.ScrolledCanvas  Pmw.ScrolledField  Pmw.ScrolledFrame  Pmw.ScrolledListBox  Pmw.ScrolledText  Pmw.TimeCounter
Dialogs
Pmw.AboutDialog  Pmw.ComboBoxDialog  Pmw.CounterDialog  Pmw.Dialog  Pmw.MessageDialog  Pmw.PromptDialog  Pmw.SelectionDialog  Pmw.TextDialog
Miscellaneous
Pmw.Balloon  Pmw.Blt  Pmw.Color  Module functions

你可能感兴趣的:(python)