How to change default font in Tkinter

Randall Hopper aa8vb at vislab.epa.gov
Thu May 6 08:17:39 EDT 1999


That's amusing.  Somehow the trivial attachment got toasted.  Let's try
that again.

Randall
-------------- next part --------------
#!/usr/bin/env python

from Tkinter import *
root = Tk()
root.option_add( "*font", "lucida 14 bold italic" )
button = Button(root, text="Quit", command=root.quit)
button.pack()
root.mainloop()


More information about the Python-list mailing list