[New-bugs-announce] [issue6549] ttk.Style not translating some Tcl options

Mark Roseman report at bugs.python.org
Thu Jul 23 00:10:51 CEST 2009

New submission from Mark Roseman <mark at markroseman.com>:

Just a couple of minor things which this terminal session points out

s = ttk.Style()
('-compound', '-space', '-text', '-font', '-foreground', '-underline',
'-width', '-anchor', '-justify', '-wraplength', '-embossed', '-image',
'-stipple', '-background')
s.configure('TButton', font='helvetica 24')
b = ttk.Button(root)

The 'element_options' call presumably shouldn't include the dashes, i.e.
'compound' rather than '-compound'

The configure call shouldn't be returning anything, akin to how configuring
a button works.

Again, just little things..

components: Tkinter
messages: 90827
nosy: gpolo, markroseman
severity: normal
status: open
title: ttk.Style not translating some Tcl options
type: behavior
versions: Python 3.1

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list