summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/test/test_tkinter/test_variables.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968)Serhiy Storchaka2020-12-291-2/+12
| | | | Objects which belong to different Tcl interpreters are now always different, even if they have the same name.
* bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781)Serhiy Storchaka2020-12-191-1/+16
| | | | | | | | | | | * 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.
* bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)Serhiy Storchaka2019-08-081-3/+10
| | | | They now return NotImplemented for unsupported type of the other operand.
* Issue #27939: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale causedSerhiy Storchaka2016-10-301-3/+2
|\ | | | | | | | | by representing the scale as float value internally in Tk. tkinter.IntVar now works if float value is set to underlying Tk variable.
| * Issue #27939: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale causedSerhiy Storchaka2016-10-301-3/+2
| | | | | | | | | | by representing the scale as float value internally in Tk. tkinter.IntVar now works if float value is set to underlying Tk variable.
* | Issue #22115: Updated Misc/NEWS.Serhiy Storchaka2016-06-261-2/+2
|\ \ | |/
| * Issue #22115: Fixed tracing Tkinter variables:Serhiy Storchaka2016-06-261-1/+50
| | | | | | | | | | | | * tracing in the "u" mode now works * trace_vdelete() with wrong mode no longer break tracing * trace_vinfo() now always returns a list of pairs of strings
* | Issue #22115: Added methods trace_add, trace_remove and trace_info in theSerhiy Storchaka2016-06-261-1/+100
|/ | | | | | tkinter.Variable class. They replace old methods trace_variable, trace, trace_vdelete and trace_vinfo that use obsolete Tcl commands and might not work in future versions of Tcl.
* 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 #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and alwaysSerhiy Storchaka2015-04-041-4/+30
| | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
* Issue #22236: Tkinter tests now don't reuse default root window. New rootSerhiy Storchaka2014-08-241-4/+4
| | | | | | | | | window is created for every test class. Fixed Tkinter images copying operations in NoDefaultRoot mode. Tcl command names generated for "after" callbacks now contains a name of original function.
* Issue #20368: The null character now correctly passed from Tcl to Python.Serhiy Storchaka2014-02-031-0/+18
| | | | Improved error handling in variables-related commands.
* Issue #20067: Tkinter variables now work when wantobjects is false.Serhiy Storchaka2013-12-261-6/+9
|
* Issue #15601: fix tkinter test_variables failure with OS X Aqua Tk 8.4Andrew Svetlov2012-08-091-2/+2
|
* Issue #1178863: Separate initialisation from setting when initializingMartin v. Löwis2012-03-131-0/+165
Tkinter.Variables; harmonize exceptions to ValueError; only delete variables that have not been deleted; assert that variable names are strings Patch by Andrew Svetlov.