summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/Tkinter.py
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-30855: Trying to fix test_use on Windows. (#2586)Victor Stinner2017-07-061-2/+1
| | | | | | | | | | | | | | * bpo-30855: Trying to fix test_use on Windows. Avoid possible weird behavior of WideInt convertion. "winfo id" always returns string hexadecimal representation. (cherry picked from commit b9d672491d5082c541bf267eb7bb99fdc6529324) * bpo-30855: Trying to fix test_use on Windows. (cherry picked from commit 29a2f7c6b38e5a6ed891aa72af38974a1ff2d372) (subTest() removed since it was introduced in Python 3)
* Fix spelling mistakes in tkinter.py (#1754)Vijay Kumar2017-05-231-5/+5
| | | Ran the docstrings through spell checker, and fixed spelling issues.
* Issue #28998: More APIs now support longs as well as ints.Serhiy Storchaka2016-12-271-2/+2
|
* Issue #22115: Fixed tracing Tkinter variables.Serhiy Storchaka2016-06-261-6/+11
| | | | | * trace_vdelete() with wrong mode no longer break tracing * trace_vinfo() now always returns a list of pairs of strings
* Corrections for a/an in code comments and documentationMartin Panter2016-05-081-1/+1
|
* Fix typos in comments, documentation and test method namesMartin Panter2016-05-081-2/+2
|
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
|
* Issue 25959: Explain in docstring that PhotoImage.zoom arguments areTerry Jan Reedy2016-03-111-4/+8
| | | | | multipliers, not final sizes. Explain y default for .zoom and .subsample. Initial patch by Serhiy Storchaka.
* Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets.Serhiy Storchaka2016-03-091-2/+3
|
* Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-101-2/+2
| | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.
* Issue #25523: Backported a-to-an corrections.Serhiy Storchaka2015-11-021-1/+1
|
* Issue #15133: _tkinter.tkapp.getboolean() now supports long and Tcl_Obj andSerhiy Storchaka2015-04-041-0/+4
| | | | | | always returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, long, str, unicode, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
* Issue #22384: An exception in Tkinter callback no longer crashes the programSerhiy Storchaka2014-09-141-2/+5
| | | | | | | when it is run with pythonw.exe. Documented that Tk.report_callback_exception() is purposed to be overriden in applications.
* Issue #22226: Added private function _splitdict() in the Tkinter module.Serhiy Storchaka2014-09-061-39/+39
| | | | | 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-241-4/+5
| | | | | | | | | 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 #22068: Avoided reference loops with Variables and Fonts in Tkinter.Serhiy Storchaka2014-08-171-5/+29
|
* Issue #21580: Now Tkinter correctly handles binary "data" and "maskdata"Serhiy Storchaka2014-07-311-0/+4
| | | | | | configure options of tkinter.PhotoImage. Added private Tkapp method _createbytearray().
* Issue #22061: Add deprecation warnings in empty obsolete methods.Serhiy Storchaka2014-07-251-2/+9
|
* Issue #6181: Fixed minor bugs in tkinter.Listbox methods:Serhiy Storchaka2014-06-021-9/+6
| | | | bbox(), curselection() and get().
* Issue #6181: Fixed errors in tkinter.Listbox docstrings.Serhiy Storchaka2014-06-021-4/+4
| | | | Based on patch by Guilherme Polo.
* Fixed grid_columnconfigure() and grid_rowconfigure() methods ofSerhiy Storchaka2014-02-191-11/+18
| | | | Tkinter widgets to work in wantobjects=True mode.
* tkinter.Text.debug() now always returns 0/1.Serhiy Storchaka2014-01-111-1/+1
| | | | Fixed regression inroduced in issue #6157.
* Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.Serhiy Storchaka2014-01-071-9/+15
| | | | | | | | | | | | | | | | | | | | * Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and LabelFrame.panes() now always return a tuple. * Fixed _stringify() for non-ASCII strings. * Fixed error of comparing str and int in tt.LabeledScale._adjust(). * ttk.Notebook.index() now always returns int. * ttk.Notebook.tabs() now always returns a tuple. * ttk.Entry.bbox() now always returns a tuple of ints. * ttk.Entry.validate() now always correctly works. * ttk.Combobox.current() now always returns int. * ttk.Panedwindow.sashpos() now always returns int. * ttk.Treeview.bbox() now always returns a tuple of ints. * ttk.Treeview.get_children() now always returns a tuple. * ttk.Treeview.exists() now always correctly works. * ttk.Treeview.index() now always returns int. * ttk.Treeview.tag_has() now always returns 0 or 1. * And numerous other errors in methods which returns a tuple, list or dict. * Fixed ttk tests for wantobjects is False.
* Issue #20067: Tkinter variables now work when wantobjects is false.Serhiy Storchaka2013-12-261-2/+4
|
* Issue #19020: Tkinter now uses splitlist() instead of split() in configureSerhiy Storchaka2013-12-251-19/+20
| | | | methods.
* Issue #6157: Fixed Tkinter.Text.debug(). Original patch by Guilherme Polo.Serhiy Storchaka2013-11-031-2/+3
|
* Issue #6160: The bbox() method of Tkinter.Spinbox now returns a tuple ofSerhiy Storchaka2013-11-031-1/+1
| | | | integers instead of a string. Based on patch by Guilherme Polo.
* Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6.Serhiy Storchaka2013-08-221-4/+4
|
* Fix tkinter regression introduced by the security fix in #16248.Antoine Pitrou2013-08-011-1/+1
|
* Issue #15861: tkinter now correctly works with lists and tuples containingSerhiy Storchaka2013-01-151-1/+33
| | | | strings with whitespaces, backslashes or unbalanced braces.
* Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
| | | | Patch by Serhiy Storchaka.
* Issue #16582: use int exit code in tkinter._exitAndrew Svetlov2012-12-091-1/+5
|
* Issue #16248: Disable code execution from the user's home directory by ↵Antoine Pitrou2012-12-091-1/+3
| | | | | | tkinter when the -E flag is passed to Python. Patch by Zachary Ware.
* Issue #14777: In an X11 windowing environment, tkinter may returnNed Deily2012-05-161-2/+26
| | | | | | | | undecoded UTF-8 bytes as a string when accessing the Tk clipboard. Modify clipboad_get() to first request type UTF8_STRING when no specific type is requested in an X11 windowing environment, falling back to the current default type STRING if that fails. Original patch by Thomas Kluyver.
* Fix closes Issue11439 - Handle the SVN Keywords in 2.7 by replacing them ↵Senthil Kumaran2011-07-281-1/+1
| | | | with a high number so that code relying on them does not break.
* #11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-151-1/+1
|
* replace has_key with 'in' operatorBenjamin Peterson2009-10-091-13/+13
|
* replace callable()Benjamin Peterson2009-10-091-3/+3
|
* Clarifying Entry.selection_present's docstring.Guilherme Polo2009-08-141-1/+2
|
* Issue #1135: Add the XView and YView mix-ins to avoid duplicatingGuilherme Polo2009-08-141-89/+47
| | | | the xview* and yview* methods.
* Improved PanedWindow.add's docstring. 'subcomand' is a Tcl term, and the ↵Guilherme Polo2009-05-311-2/+2
| | | | possible options and values are the same accepted by paneconfigure (not configure).
* Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string.Guilherme Polo2009-03-071-1/+1
|
* Issue #5341: Fix a variety of spelling errors.Mark Dickinson2009-02-211-1/+1
|
* Fixed issue #4890: Handle empty text search pattern inGuilherme Polo2009-02-091-2/+3
| | | | Tkinter.Text.search
* Issue #3774: Fixed an error when create a Tkinter menu item without commandHirokazu Yamamoto2008-11-031-11/+13
| | | | and then remove it. Written by Guilherme Polo (gpolo).
* Issue #1342811: Fixed broken patch. Reviewed by benjamin.peterson.Robert Schuppenies2008-08-221-5/+7
|
* Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated toRobert Schuppenies2008-08-101-0/+10
| | | | menu entries were not deleted.
* Remove a use of callable() from Tkinter to silence warnings under -3.Brett Cannon2008-08-041-1/+1
|
* Issue #799428: Fix Tkinter.Misc._nametowidget to unwrapMartin v. Löwis2008-08-021-9/+9
| | | | Tcl command objects.
* remove usage of MacOS from TkinterBenjamin Peterson2008-07-311-10/+0
|