[issue12979] tkinter.font.Font object not usable as font option
Andrew Svetlov andrew.svet...@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 rep...@bugs.python.org http://bugs.python.org/issue12979 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12979] tkinter.font.Font object not usable as font option
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12979 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12979] tkinter.font.Font object not usable as font option
Changes by Terry J. Reedy tjre...@udel.edu: -- components: +Tkinter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12979 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12979] tkinter.font.Font object not usable as font option
New submission from ilikepython patric...@gmx.de: If a Font object is passed as a font option to a Tk widget e. g.: import tkinter import tkinter.font f = tkinter.font.Font(family='Arial', size=30) root = Tk() label = tkinter.Label(root, text=Hello, font=f) label.pack() the font does not get respected at runtime. -- messages: 144036 nosy: ilikepython priority: normal severity: normal status: open title: tkinter.font.Font object not usable as font option type: behavior versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12979 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com