'''
Created on 2013-9-27
@author: liangqianwu
'''
#_*_ coding:utf-8_*_
from Tkinter import *
def frame(root,side):
w=Frame(root)
w.pack(side=side,fill=BOTH)
return w
def button(root,side,text,command=None):
w=Button(root,text=text,command=command)
w.pack(side=side,expand=YES,fill=BOTH)
return w
def ShowMessage(root,text,relief=GROOVE,padx=10,pady=10):
Message(root,text=text,relief=relief).pack(padx=padx,pady=pady)
def makeCommandMenu(root,text,side=LEFT,unde......
阅读全文