Expand tabs.
This commit is contained in:
parent
f64700a512
commit
babc5ec630
@ -91,7 +91,7 @@ class Font:
|
|||||||
raise Tkinter._tkinter.TclError, "named font %s does not already exist" % (self.name,)
|
raise Tkinter._tkinter.TclError, "named font %s does not already exist" % (self.name,)
|
||||||
# if font config info supplied, apply it
|
# if font config info supplied, apply it
|
||||||
if font:
|
if font:
|
||||||
print "font=%r" % font
|
print "font=%r" % font
|
||||||
root.tk.call("font", "configure", self.name, *font)
|
root.tk.call("font", "configure", self.name, *font)
|
||||||
else:
|
else:
|
||||||
# create new font (raises TclError if the font exists)
|
# create new font (raises TclError if the font exists)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user