summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/font.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968)Miss Islington (bot)2020-12-291-1/+1
| | | | | | | Objects which belong to different Tcl interpreters are now always different, even if they have the same name. (cherry picked from commit 1df56bc0597a051c13d53514e120e9b6764185f8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.9] bpo-42630: Improve error reporting in Tkinter for absent default root ↵Serhiy Storchaka2020-12-191-3/+3
| | | | | | | | | | | | | | | (GH-23781) (GH-23853) * Tkinter functions and constructors which need a default root window raise now RuntimeError with descriptive message instead of obscure AttributeError or NameError if it is not created yet or cannot be created automatically. * Add tests for all functions which use default root window. * Fix import in the pynche script. (cherry picked from commit 3d569fd6dccf9f582bafaca04d3535094cae393e)
* bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)Serhiy Storchaka2019-08-081-1/+3
| | | | They now return NotImplemented for unsupported type of the other operand.
* bpo-29446: tkinter 'import *' only imports what it should (GH-14864)Flavian Hautbois2019-07-261-2/+3
| | | | Add __all__ to tkinter.__init__ and submodules. Replace 'import *' with explicit imports in some submodules.
* Issue #24408: Fixed AttributeError in measure() and metrics() methods ofSerhiy Storchaka2015-06-081-3/+3
| | | | tkinter.Font.
* Issue #24245: Eliminated senseless expect clauses that have no any effect.Serhiy Storchaka2015-05-201-2/+0
| | | | Patch by Martin Panter.
* Issue #23880: Tkinter's getint() and getdouble() now support Tcl_Obj.Serhiy Storchaka2015-05-061-3/+3
| | | | Tkinter's getdouble() now supports any numbers (in particular int).
* Issue #22068: Avoided reference loops with Variables and Fonts in Tkinter.Serhiy Storchaka2014-08-171-10/+9
|
* Added missed calls of splitlist().Serhiy Storchaka2014-06-011-1/+2
|
* Issue #3033: Add displayof parameter to tkinter font.Andrew Svetlov2012-04-051-17/+27
| | | | Patch by Guilherme Polo.
* Issue #802310: Generate always unique tkinter font names if not directly passedAndrew Svetlov2012-04-031-1/+4
|
* reformat code to follow PEP8Andrew Svetlov2012-04-031-6/+10
|
* #1730136: Fix comparison between a tk Font object and an object of a ↵Amaury Forgeot d'Arc2010-09-171-1/+1
| | | | different type.
* Tkinter, step 2: adapt imports.Georg Brandl2008-05-171-9/+10
|
* Tkinter move, part 1: move modules.Georg Brandl2008-05-171-0/+216