tkinter如何自定窗体最大化最小化的事件

如题所述

这个跟编码方式有关, 加上#-*- coding: utf8 -*- 就能显示中文啦 self.Button(self.trspt_frm, \ text='发送文件', \ command=self.send_file, \ ).pack(side=Tkinter.LEFT, fill=Tkinter.BOTH) 在pack里设置参数,就可以设置按钮的位置啦
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答