Serhiy Storchaka
abe74feb91
[2.7] bpo-35250: Correct argument name "num" -> "btn" in turtle docs. (GH-10565). (GH-10943)
...
(cherry picked from commit 4edeaeac4c
)
Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com>
2018-12-05 23:10:36 +02:00
Serhiy Storchaka
41c7f973b6
[2.7] Fix checking for bugfix Tcl version. (GH-10185). (GH-10188)
...
(cherry picked from commit 18d57b4d62
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-10-28 20:56:30 +02:00
Serhiy Storchaka
427b8c7f7d
[2.7] bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). (GH-9760) (GH-9957) (GH-9968)
...
(cherry picked from commit 1deea5e539
).
(cherry picked from commit bd9c2ce7ac
)
Co-authored-by: Juliette Monsel <j4321@users.noreply.github.com>
2018-10-21 10:10:24 +03:00
Serhiy Storchaka
46cb5fd706
[2.7] bpo-34189: Add simple tests for new Tk widget options. (GH-8396). (GH-8400)
...
(cherry picked from commit e271ca78e3
)
(cherry picked from commit c75c1e0e8a
)
2018-07-22 22:15:16 +03:00
Serhiy Storchaka
9b84cc8771
[2.7] bpo-33974: Fix passing special characters to ttk widgets. (GH-7986) (GH-8021)
...
Fix passing lists and tuples of strings containing special characters
'"', '\\', '{', '}' and '\n' as options to tkinter.ttk widgets.
(cherry picked from commit 5bb5bbfca8
)
2018-06-30 13:34:56 +03:00
Cheryl Sabella
3a04598f63
bpo-32857: Raise error when tkinter after_cancel() is called with None. (GH-5701) (GH-6620)
...
(cherry picked from commit 74382a3f17
)
2018-05-05 16:10:48 +03:00
Andrés Delfino
7a45eb9efb
bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479) (GH-6542)
...
(cherry picked from commit 4b685bf719
)
Update only the documentation about image formats.
2018-04-20 09:15:01 +03:00
Serhiy Storchaka
e80a232f2c
[2.7] bpo-33096: Fix ttk.Treeview.insert. (GH-6228) (GH-6326)
...
Allow ttk.Treeview.insert to insert iid that has a false boolean value.
Note iid=0 and iid=False would be same.
(cherry picked from commit 3ab44c0783
)
Co-authored-by: Garvit Khatri <garvitdelhi@gmail.com>
2018-04-01 02:42:58 +03:00
Serhiy Storchaka
7c622be4f2
bpo-30855: Fix winfo_id related Tkinter test on Windows. ( #4121 )
2017-10-26 00:28:02 +03:00
Cheryl Sabella
e1847ea4a9
bpo-25684: ttk.OptionMenu radiobuttons weren't unique (GH-2276) (GH-2960)
...
ttk.OptionMenu radiobuttons weren't unique
between instances of OptionMenu.
(cherry picked from commit a568e52733
)
2017-09-09 23:02:14 -07:00
Victor Stinner
56e162ad5c
ttk: fix LabeledScale and OptionMenu destroy() method ( #3026 )
...
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.
2017-08-08 19:15:52 +02:00
Victor Stinner
f6d6480b93
[2.7] bpo-30855: Trying to fix test_use on Windows. ( #2586 )
...
* 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 b9d672491d
)
* bpo-30855: Trying to fix test_use on Windows.
(cherry picked from commit 29a2f7c6b3
)
(subTest() removed since it was introduced in Python 3)
2017-07-06 10:22:50 +02:00
Serhiy Storchaka
96f5020597
[2.7] bpo-30310: tkFont now supports unicode options (e.g. font family). ( #1567 )
2017-05-26 08:15:51 +03:00
Vijay Kumar
f31f225468
Fix spelling mistakes in tkinter.py ( #1754 )
...
Ran the docstrings through spell checker, and fixed spelling issues.
2017-05-23 09:16:27 +03:00
Serhiy Storchaka
994f04dbf5
Issue #28998 : More APIs now support longs as well as ints.
2016-12-27 15:09:36 +02:00
Terry Jan Reedy
536e7a2174
Issue 28923: Remove editor artifacts from Tix.py,
...
including encoding not recognized by codecs.lookup.
2016-12-21 23:43:50 -05:00
Serhiy Storchaka
f8cc2870f1
Issue #28515 : Fixed py3k warnings.
2016-10-25 09:51:38 +03:00
Serhiy Storchaka
f10006cdb8
Issue #25464 : Fixed HList.header_exists() in Tix module by adding
...
a workaround to Tix library bug.
2016-10-24 23:47:08 +03:00
Serhiy Storchaka
2b91fadc7f
Issue #27611 : Fixed support of default root window in the Tix module.
2016-09-25 16:44:32 +03:00
Martin Panter
fcc8a0f0f5
Correct spelling in documentation and code comments
2016-09-10 10:38:28 +00:00
Terry Jan Reedy
1872d9490a
Issue #27611 : Don't import volatile attribute.
2016-08-16 01:44:06 -04:00
Martin Panter
3d36f0f712
Spelling and grammar fixes in code comments and documentation
2016-07-28 02:37:04 +00:00
Serhiy Storchaka
199b7d5662
Issue #22115 : Fixed tracing Tkinter variables.
...
* trace_vdelete() with wrong mode no longer break tracing
* trace_vinfo() now always returns a list of pairs of strings
2016-06-26 17:41:14 +03:00
Serhiy Storchaka
77ccaaf946
Issue #27238 : Got rid of bare excepts in the turtle module. Original patch
...
by Jelle Zijlstra.
2016-06-14 22:52:13 +03:00
Serhiy Storchaka
d8b5942f7c
Issue #26386 : Fixed ttk.TreeView selection operations with item id's
...
containing spaces.
2016-06-14 12:46:14 +03:00
Martin Panter
200a615774
Issue #27125 : Remove duplicated words from documentation and comments
2016-05-30 04:04:50 +00:00
Martin Panter
b44c4520d9
Issue #27125 : Fix various errors like “will [be] inherited”
2016-05-29 08:13:58 +00:00
Martin Panter
b1d867f149
Issue #27076 : Doc, comment and test function name spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:28:50 +00:00
Martin Panter
4f23cabc16
Corrections for a/an in code comments and documentation
2016-05-08 13:45:55 +00:00
Martin Panter
f2f1c57b7e
Fix typos in comments, documentation and test method names
2016-05-08 13:18:25 +00:00
Serhiy Storchaka
9a118f1dc3
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 09:37:36 +03:00
Terry Jan Reedy
ca76100205
Issue 25959: Explain in docstring that PhotoImage.zoom arguments are
...
multipliers, not final sizes. Explain y default for .zoom and .subsample.
Initial patch by Serhiy Storchaka.
2016-03-11 15:30:27 -05:00
Serhiy Storchaka
0fd213c5d7
Issue #26177 : Fixed the keys() method for Canvas and Scrollbar widgets.
2016-03-09 10:51:41 +02:00
Martin Panter
53ae0ba6e3
Issue #26304 : Change "allows to <verb>" to "allows <verb>ing" or similar
...
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
2016-02-10 05:44:01 +00:00
Serhiy Storchaka
f64ccb9acf
Issue #25263 : Fixed the tkinter.test.test_tkinter.test_font.FontTest test
...
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.
2015-11-10 15:32:54 +02:00
Serhiy Storchaka
c72e66a048
Issue #25523 : Backported a-to-an corrections.
2015-11-02 15:06:09 +02:00
Zachary Ware
4734372aa0
Close #24508 : Backport the 3.5 MSBuild project files.
...
The old project files move to PC/VS9.0 and remain supported.
VS2008 is still required to build 2.7; VS2010 (or later, plus Windows SDK 7.1)
is *also* required to use the new project files.
2015-07-16 00:24:48 -05:00
Ned Deily
9487043453
Issue #24408 : Prevent test_font failures with non-ascii font names.
2015-06-21 13:57:30 -07:00
Serhiy Storchaka
18d69e0edc
Issue #24408 : Fixed test for tkinter.Font on OS X.
...
Based on patch by Martin Panter.
2015-06-21 14:41:36 +03:00
Serhiy Storchaka
66f8d75ba8
Issue #24408 : Added more tkinter.Font tests.
2015-06-09 07:21:31 +03:00
Serhiy Storchaka
dacd7d0cd6
Use more precise Tcl version checks in tests.
2015-04-23 10:57:15 +03:00
Serhiy Storchaka
dcb12f46d1
Fixed full Tcl version parsing in tests for pre-final versions.
2015-04-22 08:35:53 +03:00
Serhiy Storchaka
f29bc70bff
Issue #15133 : _tkinter.tkapp.getboolean() now supports long and Tcl_Obj and
...
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.
2015-04-04 12:42:25 +03:00
Serhiy Storchaka
cc49aa1381
Issue #6639 : Module-level turtle functions no longer raise TclError after
...
closing the window.
2015-02-22 17:22:53 +02:00
Serhiy Storchaka
7a02582329
Issue #22769 : Fixed ttk.Treeview.tag_has() when called without arguments.
2014-11-07 12:02:11 +02:00
Zachary Ware
21a2350a83
Issue #17896 : Move Windows external lib sources from .. to externals.
2014-11-01 22:34:09 -05:00
Serhiy Storchaka
e73b8c64b8
Always handle non-handled events before destoying root widget in tests.
...
This gets rid of Tcl warnings when they are handled later when the root is
already destroyed.
2014-10-12 20:32:05 +03:00
Terry Jan Reedy
1375538b1a
De-'colour'ize stdlib except for idlelib.configDialog.
...
Tweak docstrigs and comments in affected functions in idlelib.configHandler.
2014-10-09 18:44:26 -04:00
Serhiy Storchaka
2971c5e97d
Issue #22384 : An exception in Tkinter callback no longer crashes the program
...
when it is run with pythonw.exe.
Documented that Tk.report_callback_exception() is purposed to be overriden in
applications.
2014-09-14 21:17:16 +03:00
Serhiy Storchaka
ceaf6827e2
Issue #22226 : Added private function _splitdict() in the Tkinter module.
...
First letter no longer is stripped from the "status" key in
the result of Treeview.heading().
2014-09-06 22:47:02 +03:00