[New-bugs-announce] [issue12979] tkinter.font.Font object not usable as font option

ilikepython report at bugs.python.org
Wed Sep 14 20:39:32 CEST 2011


New submission from ilikepython <patrick70 at 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 <report at bugs.python.org>
<http://bugs.python.org/issue12979>
_______________________________________


More information about the New-bugs-announce mailing list