Serhiy Storchaka
1df56bc059
bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968)
...
Objects which belong to different Tcl interpreters are now always
different, even if they have the same name.
2020-12-29 12:56:55 +02:00
Desmond Cheong
36a779e64c
bpo-35728: Add root parameter to tkinter.font.nametofont() (GH-23885)
2020-12-25 23:18:06 +02:00
Serhiy Storchaka
bb70b2afe3
bpo-15303: Support widgets with boolean value False in Tkinter (GH-23904)
...
Use `widget is None` instead of checking the boolean value of a widget.
2020-12-25 17:04:26 +02:00
Serhiy Storchaka
3d569fd6dc
bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781)
...
* 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.
2020-12-19 12:17:08 +02:00
Anatoliy Platonov
b4d895336a
bpo-41876: Overload __repr__ for tkinter Font objects (GH-22450)
2020-10-14 13:02:51 +03:00
Serhiy Storchaka
662db125cd
bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)
...
They now return NotImplemented for unsupported type of the other operand.
2019-08-08 08:42:54 +03:00
Flavian Hautbois
76b645124b
bpo-29446: tkinter 'import *' only imports what it should (GH-14864)
...
Add __all__ to tkinter.__init__ and submodules. Replace 'import *'
with explicit imports in some submodules.
2019-07-25 21:30:33 -04:00
Serhiy Storchaka
4fafda731a
Issue #24408 : Fixed AttributeError in measure() and metrics() methods of
...
tkinter.Font.
2015-06-08 18:43:55 +03:00
Serhiy Storchaka
e98209c2b4
Issue #24245 : Eliminated senseless expect clauses that have no any effect.
...
Patch by Martin Panter.
2015-05-20 16:10:04 +03:00
Serhiy Storchaka
645058d11a
Issue #23880 : Tkinter's getint() and getdouble() now support Tcl_Obj.
...
Tkinter's getdouble() now supports any numbers (in particular int).
2015-05-06 14:00:04 +03:00
Serhiy Storchaka
87bbf257ef
Issue #22068 : Avoided reference loops with Variables and Fonts in Tkinter.
2014-08-17 15:31:59 +03:00
Serhiy Storchaka
8381f90ee0
Added missed calls of splitlist().
2014-06-01 11:21:55 +03:00
Andrew Svetlov
20bbf54f5e
Issue #3033 : Add displayof parameter to tkinter font.
...
Patch by Guilherme Polo.
2012-04-05 12:41:20 +03:00
Andrew Svetlov
39f0037735
Issue #802310 : Generate always unique tkinter font names if not directly passed
2012-04-03 09:48:07 +03:00
Andrew Svetlov
5af3e1afb0
reformat code to follow PEP8
2012-04-03 09:39:47 +03:00
Amaury Forgeot d'Arc
d61d077bf5
#1730136 : Fix comparison between a tk Font object and an object of a different type.
2010-09-17 23:27:09 +00:00
Georg Brandl
14fc4270da
Tkinter, step 2: adapt imports.
2008-05-17 18:39:55 +00:00
Georg Brandl
3302312383
Tkinter move, part 1: move modules.
2008-05-17 18:28:57 +00:00