setting the font in Tkinter

jepler epler jepler.lnk at lnk.ispi.net
Sun Sep 17 14:53:33 EDT 2000


On Sun, 17 Sep 2000 12:51:28 GMT, Rick Pasotto
 <rickp at telocity.com> wrote:
>    root.tk.call("option","*Font","Helvetica -24")
>	TclError: bad option "*Font": must be add, clear, get, or readfile

Yes, copying my examples by hand, I got them all wrong.
	option add *Font {Helvetica -24}  ;# tk
	root.tk.call("option", "add", "*Font", "Helvetica -24")  # Python

jeff



More information about the Python-list mailing list