[issue12979] tkinter.font.Font object not usable as font option
Andrew Svetlov
report at bugs.python.org
Tue Apr 3 20:47:48 CEST 2012
Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:
The test from ilikepython is incorrect, but after changing to:
import tkinter
import tkinter.font
root = tkinter.Tk()
w = tkinter.Frame(root)
f = tkinter.font.Font(root, family='Arial', size=30)
label = tkinter.Label(w, text="Hello", font=f)
label.pack()
w.pack()
root.mainloop()
it works.
Closing the issue.
----------
assignee: -> asvetlov
nosy: +asvetlov
resolution: -> works for me
stage: -> committed/rejected
status: open -> closed
versions: +Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12979>
_______________________________________
More information about the Python-bugs-list
mailing list