setting the font of the root title

kevind0718 at gmail.com kevind0718 at gmail.com
Tue Feb 23 11:30:06 EST 2016


Hello:

Newbee here.

I need to change the font of the title of the root.
Actually I just need it to be larger, which means I may need the 
top boarder to be larger.

I wrote the bit of code below, hoping for the desired effect.
Also googled around regarding the toplevel widget
No luck.

Your kind assistance is requested.


from  Tkinter   import * 
import tkFont

root = Tk( )
root.option_add("*font, ", "Times 16")
root.title("Database Logon Info")
w = Label(root, text="Hello World")

w.pack()

root.mainloop()


More information about the Python-list mailing list