Entry
私は Python の初心者で、ウィジェットでフォント サイズを設定したいと考えています。パラメータを設定しようとしましfont=("Calibri",12)
たが、何も起こりませんでした。フォント サイズはデフォルトのままです。設定する方法はありますか?
編集:
from Tkinter import *
root = Tk()
EntryList = []
for i in range(81):
EntryList.append(Entry(root,font=("Calibri",12),justify="center",width=6,bg="#1E6FBA",fg="yellow",disabledbackground="#1E6FBA",disabledforeground="yellow",highlightbackground="black",highlightcolor="red",highlightthickness=1,bd=0))
EntryList[i].grid(row=i/9,column=i%9,ipady=14)
root.mainloop()