summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/test
Commit message (Collapse)AuthorAgeFilesLines
* bpo-27319, bpo-31508: Document deprecation in Treeview.selection(). (#3667)Serhiy Storchaka2017-09-241-1/+1
| | | | | Defer removing old behavior to 3.8. Document new feature of selection_set() and friends.
* bpo-25684: ttk.OptionMenu radiobuttons weren't unique (#2276)csabella2017-07-311-0/+25
| | | between instances of OptionMenu.
* bpo-30310: Add a test for non-ascii font family. (#1567) (#1832)Serhiy Storchaka2017-05-271-1/+11
|
* Issue #27939: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale causedSerhiy Storchaka2016-10-302-7/+15
|\ | | | | | | | | 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-302-7/+15
| | | | | | | | | | 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 #27319: Methods selection_set(), selection_add(), selection_remove()Serhiy Storchaka2016-06-191-4/+45
| | | | | | | | | | | | and selection_toggle() of ttk.TreeView now allow to pass multiple items as multiple arguments instead of passing them as a tuple. Deprecated undocumented ability of calling the selection() method with arguments.
* | Issue #26386: Fixed ttk.TreeView selection operations with item id'sSerhiy Storchaka2016-06-141-0/+51
|\ \ | |/ | | | | containing spaces.
| * Issue #26386: Fixed ttk.TreeView selection operations with item id'sSerhiy Storchaka2016-06-141-0/+51
| | | | | | | | containing spaces.
* | Issue #27025: Generated names for Tkinter widgets are now more meanfulSerhiy Storchaka2016-06-131-0/+8
| | | | | | | | and recognizirable.
* | Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-242-2/+0
| |
* | Issue #23277: Remove unused sys and os importsBerker Peksag2016-04-241-1/+0
| | | | | | | | Patch by Jon Dufresne.
* | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and errorSerhiy Storchaka2016-04-171-1/+1
|\ \ | |/ | | | | messages.
| * Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
| |
* | Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets.Serhiy Storchaka2016-03-094-136/+178
|\ \ | |/
| * Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets.Serhiy Storchaka2016-03-094-136/+178
| | | | | | | | Added few missed tests for configure options.
* | Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest testSerhiy Storchaka2015-11-102-2/+2
|\ \ | |/ | | | | | | | | | | failure when the test is ran the second time. The root attribute was set in parent class in setUpClass and then overridded in child class in tearDownClass.
| * Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest testSerhiy Storchaka2015-11-102-2/+2
| |\ | | | | | | | | | | | | | | | | | | failure when the test is ran the second time. The root attribute was set in parent class in setUpClass and then overridded in child class in tearDownClass.
| | * Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest testSerhiy Storchaka2015-11-102-2/+2
| | | | | | | | | | | | | | | | | | | | | failure when the test is ran the second time. The root attribute was set in parent class in setUpClass and then overridded in child class in tearDownClass.
* | | Issue #25263: Trying to fix test_use on Windows.Serhiy Storchaka2015-11-071-3/+4
|/ /
* | Issue #24408: Fixed test for tkinter.Font on OS X.Serhiy Storchaka2015-06-211-1/+10
|\ \ | |/ | | | | Based on patch by Martin Panter.
| * Issue #24408: Fixed test for tkinter.Font on OS X.Serhiy Storchaka2015-06-211-1/+10
| | | | | | | | Based on patch by Martin Panter.
* | Issue #24408: Added more tkinter.Font tests.Serhiy Storchaka2015-06-091-5/+65
|\ \ | |/
| * Issue #24408: Added more tkinter.Font tests.Serhiy Storchaka2015-06-091-5/+65
| |
* | Issue #23880: Tkinter's getint() and getdouble() now support Tcl_Obj.Serhiy Storchaka2015-05-062-7/+5
| | | | | | | | Tkinter's getdouble() now supports any numbers (in particular int).
* | Use more precise Tcl version checks in tests.Serhiy Storchaka2015-04-232-4/+6
|\ \ | |/
| * Use more precise Tcl version checks in tests.Serhiy Storchaka2015-04-232-4/+6
| |
* | Fixed full Tcl version parsing in tests for pre-final versions.Serhiy Storchaka2015-04-222-12/+12
|\ \ | |/
| * Fixed full Tcl version parsing in tests for pre-final versions.Serhiy Storchaka2015-04-222-12/+12
| |
* | Issue #23731: Implement PEP 488.Brett Cannon2015-04-131-1/+1
| | | | | | | | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
* | 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 #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 #22769: Fixed ttk.Treeview.tag_has() when called without arguments.Serhiy Storchaka2014-11-071-1/+16
|\ \ | |/
| * Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments.Serhiy Storchaka2014-11-071-1/+16
| |
* | Always handle non-handled events before destoying root widget in tests.Serhiy Storchaka2014-10-121-0/+1
|\ \ | |/ | | | | | | This gets rid of Tcl warnings when they are handled later when the root is already destroyed.
| * Always handle non-handled events before destoying root widget in tests.Serhiy Storchaka2014-10-121-0/+1
| | | | | | | | | | This gets rid of Tcl warnings when they are handled later when the root is already destroyed.
* | Issue #22226: Added private function _splitdict() in the Tkinter module.Serhiy Storchaka2014-09-061-20/+7
|\ \ | |/ | | | | | | First letter no longer is stripped from the "status" key in the result of Treeview.heading().
| * Issue #22226: Added private function _splitdict() in the Tkinter module.Serhiy Storchaka2014-09-061-20/+7
| | | | | | | | | | First letter no longer is stripped from the "status" key in the result of Treeview.heading().
* | Issue #22236: Tkinter tests now don't reuse default root window. New rootSerhiy Storchaka2014-08-2412-258/+208
|\ \ | |/ | | | | | | | | | | | | | | 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 #22236: Tkinter tests now don't reuse default root window. New rootSerhiy Storchaka2014-08-2412-258/+208
| | | | | | | | | | | | | | | | | | 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 #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-5/+0
|\ \ | |/ | | | | In particular this allows to initialize images from binary data.
| * Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-5/+0
| | | | | | | | In particular this allows to initialize images from binary data.
| * Issue #6167: Backported tests for Scrollbar.activate() and Scrollbar.set()Serhiy Storchaka2014-07-231-0/+18
| | | | | | | | from 6ae34a948cb4.
* | Issue #6167: Scrollbar.activate() now returns the name of active element ifSerhiy Storchaka2014-07-231-0/+19
| | | | | | | | | | the argument is not specified. Scrollbar.set() now always accepts only 2 arguments. Added tests for Scrollbar.activate() and Scrollbar.set().
* | Issue #18492: Merge with 3.4Zachary Ware2014-06-021-1/+0
|\ \ | |/
| * Issue #18492: Allow all resources when tests are not run by regrtest.py.Zachary Ware2014-06-021-1/+0
| | | | | | | | This changeset also includes cleanup allowed by this behavior change.
* | Issue #6181: Fixed minor bugs in tkinter.Listbox methods:Serhiy Storchaka2014-06-023-20/+54
|\ \ | |/ | | | | bbox(), curselection() and get().
| * Issue #6181: Fixed minor bugs in tkinter.Listbox methods:Serhiy Storchaka2014-06-023-20/+54
| | | | | | | | bbox(), curselection() and get().