tkinter-entry

样例:

self.distChangeRateStrLeft = tk.StringVar(value='1,0')
# state=tk.DISABLED 默认禁止输入
self.distChangeRateEntryLeft = ttk.Entry(topFrame2, width=8, textvariable=self.distChangeRateStrLeft, state=tk.DISABLED)
self.distChangeRateEntryLeft.pack(side=tk.LEFT, padx=4)