summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter
Commit message (Collapse)AuthorAgeFilesLines
* bpo-39152: add missing ttk.Scale.configure return value (GH-17815)Terry Jan Reedy2020-01-052-11/+7
| | | | tkinter.ttk.Scale().configure([name]) now returns a configuration tuple for name or a list thereof for all options. Based on patch Giovanni Lombardo.
* bpo-39136: Fixed typos (GH-17720)Gurupad Hegde2019-12-281-2/+2
| | | | | funtion -> function; configuraton -> configuration; defintitions -> definitions; focusses -> focuses; necesarily -> necessarily; follwing -> following; Excape -> Escape,
* bpo-38738: Fix formatting of True and False. (GH-17083)Serhiy Storchaka2019-11-121-2/+2
| | | | | | | | | * "Return true/false" is replaced with "Return ``True``/``False``" if the function actually returns a bool. * Fixed formatting of some True and False literals (now in monospace). * Replaced "True/False" with "true/false" if it can be not only bool. * Replaced some 1/0 with True/False if it corresponds the code. * "Returns <bool>" is replaced with "Return <bool>".
* bpo-13153: Use OS native encoding for converting between Python and Tcl. ↵Serhiy Storchaka2019-10-042-10/+25
| | | | | | | | | | | | | (GH-16545) On Windows use UTF-16 (or UTF-32 for 32-bit Tcl_UniChar) with the "surrogatepass" error handler for converting to/from Tcl Unicode objects. On Linux use UTF-8 with the "surrogateescape" error handler for converting to/from Tcl String objects. Converting strings from Tcl to Python and back now never fails (except MemoryError).
* bpo-15999: Clean up of handling boolean arguments. (GH-15610)Serhiy Storchaka2019-09-011-3/+3
| | | | | | * Use the 'p' format unit instead of manually called PyObject_IsTrue(). * Pass boolean value instead 0/1 integers to functions that needs boolean. * Convert some arguments to boolean only once.
* Fix typos mostly in comments, docs and test names (GH-15209)Min ho Kim2019-08-301-1/+1
|
* bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)Serhiy Storchaka2019-08-084-5/+17
| | | | 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-2610-15/+50
| | | | Add __all__ to tkinter.__init__ and submodules. Replace 'import *' with explicit imports in some submodules.
* bpo-25451: Add transparency methods to tkinter.PhotoImage. (GH-10406)Zackery Spytz2019-04-052-0/+18
|
* bpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa Tk ↵Ned Deily2019-02-241-1/+6
| | | | (GH-12011)
* Fix yet one error in checking Tcl version. (GH-10189)Serhiy Storchaka2018-10-281-1/+1
|
* Fix checking for bugfix Tcl version. (GH-10185)Serhiy Storchaka2018-10-281-1/+1
|
* bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). (GH-9760)Juliette Monsel2018-10-182-5/+12
|
* bpo-23831: Add moveto method to the tkinter.Canvas widget. (GH-9768)Juliette Monsel2018-10-122-0/+32
|
* bpo-34964: Make Tkinter sources more readable by adding blank lines. (GH-9822)Serhiy Storchaka2018-10-128-9/+565
|
* bpo-34829: Add missing selection_ methods to the Tkinter Spinbox. (GH-9617)Juliette Monsel2018-10-082-0/+68
| | | | | Implement the methods selection_from(), selection_range(), selection_present() and selection_to() for Tkinter Spinbox.
* bpo-34189: Fix checking for bugfix Tcl version. (GH-8397)Serhiy Storchaka2018-07-222-4/+14
|
* bpo-34189: Add simple tests for new Tk widget options. (GH-8396)Serhiy Storchaka2018-07-221-2/+25
|
* bpo-33974: Fix passing special characters to ttk widgets. (GH-7986)Serhiy Storchaka2018-06-301-1/+4
| | | | Fix passing lists and tuples of strings containing special characters '"', '\\', '{', '}' and '\n' as options to tkinter.ttk widgets.
* bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479)Andrés Delfino2018-04-171-2/+2
|
* bpo-33096: Fix ttk.Treeview.insert. (GH-6228)Garvit Khatri2018-03-262-1/+10
| | | | | Allow ttk.Treeview.insert to insert iid that has a false boolean value. Note iid=0 and iid=False would be same.
* bpo-32857: Raise error when tkinter after_cancel() is called with None. ↵Cheryl Sabella2018-03-042-3/+114
| | | | (GH-5701)
* bpo-32585: Add tkinter.ttk.Spinbox. (#5221)Alan D Moore2018-02-092-2/+206
|
* [3.8] bpo-31508: Remove support of arguments in ↵Serhiy Storchaka2018-02-012-42/+2
| | | | | | tkinter.ttk.Treeview.selection. (GH-3651) It was deprecated in 3.6.
* bpo-32297: Few misspellings found in Python source code comments. (#4803)Mike2017-12-142-3/+3
| | | | | | | | * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py
* bpo-27319, bpo-31508: Document deprecation in Treeview.selection(). (#3667)Serhiy Storchaka2017-09-242-3/+3
| | | | | Defer removing old behavior to 3.8. Document new feature of selection_set() and friends.
* ttk: fix LabeledScale and OptionMenu destroy() method (#3025)Victor Stinner2017-08-081-4/+8
| | | | | | | | bpo-31135: Call the parent destroy() method even if the used attribute doesn't exist. The LabeledScale.destroy() method now also explicitly clears label and scale attributes to help the garbage collector to destroy all widgets.
* bpo-25684: ttk.OptionMenu radiobuttons weren't unique (#2276)csabella2017-07-312-1/+27
| | | between instances of OptionMenu.
* bpo-30310: Add a test for non-ascii font family. (#1567) (#1832)Serhiy Storchaka2017-05-271-1/+11
|
* Fix spelling mistakes in tkinter.py (#1716)Vijay Kumar2017-05-221-6/+6
| | | Ran the docstrings through spell checker, and fixed spelling issues.
* bpo-29776: Use decorator syntax for properties. (#585)Serhiy Storchaka2017-03-191-7/+4
|
* Issue 28923: Remove editor artifacts from Tix.py,Terry Jan Reedy2016-12-221-4/+0
|\
| * Issue 28923: Remove editor artifacts from Tix.py.Terry Jan Reedy2016-12-221-4/+0
| |
* | Issue #27939: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale causedSerhiy Storchaka2016-10-303-9/+21
|\ \ | |/ | | | | | | 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-303-9/+21
| | | | | | | | | | by representing the scale as float value internally in Tk. tkinter.IntVar now works if float value is set to underlying Tk variable.
* | Issue #27025: Generated names for Tkinter widgets now start by the "!" prefixSerhiy Storchaka2016-10-251-2/+2
| | | | | | | | for readability (was "`").
* | Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addinSerhiy Storchaka2016-10-241-1/+5
|\ \ | |/ | | | | a workaround to Tix library bug.
| * Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addinSerhiy Storchaka2016-10-241-1/+5
| | | | | | | | a workaround to Tix library bug.
* | Issue #27611: Fixed support of default root window in the tkinter.tix module.Serhiy Storchaka2016-09-251-5/+11
|\ \ | |/ | | | | Added the master parameter in the DisplayStyle constructor.
| * Issue #27611: Fixed support of default root window in the tkinter.tix module.Serhiy Storchaka2016-09-251-4/+9
| |
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-301-1/+1
| |
* | Merge with 3.5Terry Jan Reedy2016-08-161-3/+4
|\ \ | |/
| * Issue #27611: Don't import volatile attribute.Terry Jan Reedy2016-08-161-3/+4
| |
* | Merge spelling and grammar fixes from 3.5Martin Panter2016-08-051-1/+1
|\ \ | |/
| * Fix spelling and grammar in documentation and code commentsMartin Panter2016-08-041-1/+1
| |
* | Issue #22115: Updated Misc/NEWS.Serhiy Storchaka2016-06-261-2/+2
|\ \ | |/
| * Issue #22115: Fixed tracing Tkinter variables:Serhiy Storchaka2016-06-262-8/+62
| | | | | | | | | | | | * 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-262-16/+182
| | | | | | | | | | | | 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 #20350. tkapp.splitlist() is now always used instead of unreliableSerhiy Storchaka2016-06-252-15/+12
| | | | | | | | tkapp.split() in the tkinter package.
* | Issue #27319: Methods selection_set(), selection_add(), selection_remove()Serhiy Storchaka2016-06-192-20/+85
| | | | | | | | | | | | 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.