fromtkinterimport*classtest1():def__init__(self,parent,**config):self.root1=parentdefshow1(self):Label(self.root1,text='信息1',width=8,height=1).grid(row=0,column=3)Text(...
from tkinter import *
class test1():
def __init__(self,parent,**config):
self.root1=parent
def show1(self):
Label(self.root1,text = '信息1',width=8,height=1).grid(row=0,column=3)
Text(self.root1,width=20,height=1,
state='disabled').grid(row=0,column=4,columnspan=10)
Label(self.root1,text = '信息2',width=8,height=1).grid(row=1,column=3)
Text(self.root1,width=20,height=1,
state='disabled').grid(row=1,column=4,columnspan=10)
Button(root1,text='配置',width=5,height=1,
command=self.peizhi).grid(row=