pack布局管理器是对组件的管理;
python中一个组件要指定其父容器,如root=Tk() Label(root,text='test').pack//pack的作用是为了使得这个组件成为root的子组件
制定尺寸用geometry('80x80+0+120')
root.mainloop()
子组件:pack_slaves()
pack布局管理器是对组件的管理;
python中一个组件要指定其父容器,如root=Tk() Label(root,text='test').pack//pack的作用是为了使得这个组件成为root的子组件
制定尺寸用geometry('80x80+0+120')
root.mainloop()
子组件:pack_slaves()