How can i change the font on ttk.Entry How can i change the font on ttk.Entry tkinter tkinter

How can i change the font on ttk.Entry


Specify font in ttk.Entry constructor.

For example:

from Tkinter import * # from tkinter import *    IN Python 3.ximport ttkmaster = Tk()my_entry = ttk.Entry(master, font=('Arial', 10, 'bold')) # <-----my_entry.pack()mainloop()