Ned Deily
aeca373b33
bpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa Tk (GH-12011)
2019-02-24 02:28:24 -05:00
Serhiy Storchaka
569d12f448
Fix yet one error in checking Tcl version. (GH-10189)
2018-10-28 20:58:04 +02:00
Serhiy Storchaka
18d57b4d62
Fix checking for bugfix Tcl version. (GH-10185)
2018-10-28 19:48:36 +02:00
Juliette Monsel
1deea5e539
bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). (GH-9760)
2018-10-18 22:28:31 +03:00
Juliette Monsel
bf034715db
bpo-23831: Add moveto method to the tkinter.Canvas widget. (GH-9768)
2018-10-12 19:44:10 +03:00
Serhiy Storchaka
dc0d571b64
bpo-34964: Make Tkinter sources more readable by adding blank lines. (GH-9822)
2018-10-12 19:01:00 +03:00
Juliette Monsel
af5658ae93
bpo-34829: Add missing selection_ methods to the Tkinter Spinbox. (GH-9617)
...
Implement the methods selection_from(), selection_range(), selection_present()
and selection_to() for Tkinter Spinbox.
2018-10-08 19:29:24 +03:00
Serhiy Storchaka
c75c1e0e8a
bpo-34189: Fix checking for bugfix Tcl version. (GH-8397)
2018-07-22 21:41:48 +03:00
Serhiy Storchaka
e271ca78e3
bpo-34189: Add simple tests for new Tk widget options. (GH-8396)
2018-07-22 19:50:14 +03:00
Serhiy Storchaka
5bb5bbfca8
bpo-33974: Fix passing special characters to ttk widgets. (GH-7986)
...
Fix passing lists and tuples of strings containing special characters
'"', '\\', '{', '}' and '\n' as options to tkinter.ttk widgets.
2018-06-30 09:20:28 +03:00
Andrés Delfino
4b685bf719
bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479)
2018-04-17 08:34:35 +03:00
Garvit Khatri
3ab44c0783
bpo-33096: Fix ttk.Treeview.insert. (GH-6228)
...
Allow ttk.Treeview.insert to insert iid that has a false boolean value.
Note iid=0 and iid=False would be same.
2018-03-26 10:02:05 +03:00
Cheryl Sabella
74382a3f17
bpo-32857: Raise error when tkinter after_cancel() is called with None. (GH-5701)
2018-03-04 12:41:47 +02:00
Alan D Moore
a48e78a0b7
bpo-32585: Add tkinter.ttk.Spinbox. ( #5221 )
2018-02-09 02:03:55 +02:00
Serhiy Storchaka
97f1ca1673
[3.8] bpo-31508: Remove support of arguments in tkinter.ttk.Treeview.selection. (GH-3651)
...
It was deprecated in 3.6.
2018-02-01 18:49:21 +02:00
Mike
53f7a7c281
bpo-32297: Few misspellings found in Python source code comments. ( #4803 )
...
* 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
2017-12-14 13:04:53 +02:00
Serhiy Storchaka
2fad102354
bpo-27319, bpo-31508: Document deprecation in Treeview.selection(). ( #3667 )
...
Defer removing old behavior to 3.8.
Document new feature of selection_set() and friends.
2017-09-24 14:34:09 +03:00
Victor Stinner
cd7e9c1b67
ttk: fix LabeledScale and OptionMenu destroy() method ( #3025 )
...
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:41:21 +02:00
csabella
a568e52733
bpo-25684: ttk.OptionMenu radiobuttons weren't unique ( #2276 )
...
between instances of OptionMenu.
2017-07-31 12:30:09 +03:00
Serhiy Storchaka
a92adf8f07
bpo-30310: Add a test for non-ascii font family. ( #1567 ) ( #1832 )
2017-05-27 17:01:31 +03:00
Vijay Kumar
128641d17e
Fix spelling mistakes in tkinter.py ( #1716 )
...
Ran the docstrings through spell checker, and fixed spelling issues.
2017-05-22 19:23:52 +03:00
Serhiy Storchaka
bdf6b910f9
bpo-29776: Use decorator syntax for properties. ( #585 )
2017-03-19 08:40:32 +02:00
Terry Jan Reedy
0ba0defb00
Issue 28923: Remove editor artifacts from Tix.py,
2016-12-22 00:02:36 -05:00
Terry Jan Reedy
c67983b829
Issue 28923: Remove editor artifacts from Tix.py.
2016-12-21 23:59:47 -05:00
Serhiy Storchaka
016a9acb26
Issue #27939 : Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused
...
by representing the scale as float value internally in Tk. tkinter.IntVar
now works if float value is set to underlying Tk variable.
2016-10-30 18:52:02 +02:00
Serhiy Storchaka
32c0d3ada5
Issue #27939 : Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused
...
by representing the scale as float value internally in Tk. tkinter.IntVar
now works if float value is set to underlying Tk variable.
2016-10-30 18:49:52 +02:00
Serhiy Storchaka
b1f5287952
Issue #27025 : Generated names for Tkinter widgets now start by the "!" prefix
...
for readability (was "`").
2016-10-25 09:43:48 +03:00
Serhiy Storchaka
407c8acd90
Issue #25464 : Fixed HList.header_exists() in tkinter.tix module by addin
...
a workaround to Tix library bug.
2016-10-24 23:49:10 +03:00
Serhiy Storchaka
071dec2027
Issue #25464 : Fixed HList.header_exists() in tkinter.tix module by addin
...
a workaround to Tix library bug.
2016-10-24 23:47:28 +03:00
Serhiy Storchaka
1aca3899fb
Issue #27611 : Fixed support of default root window in the tkinter.tix module.
...
Added the master parameter in the DisplayStyle constructor.
2016-09-25 16:52:13 +03:00
Serhiy Storchaka
e6f0199c19
Issue #27611 : Fixed support of default root window in the tkinter.tix module.
2016-09-25 16:46:10 +03:00
Raymond Hettinger
15f44ab043
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-08-30 10:47:49 -07:00
Terry Jan Reedy
f050a33ce2
Merge with 3.5
2016-08-16 01:44:31 -04:00
Terry Jan Reedy
22ba01ea55
Issue #27611 : Don't import volatile attribute.
2016-08-16 01:44:12 -04:00
Martin Panter
02b75abf73
Merge spelling and grammar fixes from 3.5
2016-08-05 01:51:39 +00:00
Martin Panter
69332c1a64
Fix spelling and grammar in documentation and code comments
2016-08-04 13:07:31 +00:00
Serhiy Storchaka
b554faddf5
Issue #22115 : Updated Misc/NEWS.
2016-06-26 17:47:46 +03:00
Serhiy Storchaka
745a407df8
Issue #22115 : Fixed tracing Tkinter variables:
...
* 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
2016-06-26 17:42:23 +03:00
Serhiy Storchaka
8122174af1
Issue #22115 : Added methods trace_add, trace_remove and trace_info in the
...
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.
2016-06-26 09:46:57 +03:00
Serhiy Storchaka
6bc87b4b4d
Issue #20350 . tkapp.splitlist() is now always used instead of unreliable
...
tkapp.split() in the tkinter package.
2016-06-26 00:09:19 +03:00
Serhiy Storchaka
b84f029baa
Issue #27319 : Methods selection_set(), selection_add(), selection_remove()
...
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.
2016-06-20 00:05:40 +03:00
Serhiy Storchaka
9c6c3fb435
Issue #27294 : Numerical state in the repr for Tkinter event objects is now
...
represented as a compination of known flags.
2016-06-18 21:55:26 +03:00
Serhiy Storchaka
255bbf2d25
Issue #26386 : Fixed ttk.TreeView selection operations with item id's
...
containing spaces.
2016-06-14 12:39:18 +03:00
Serhiy Storchaka
8e6d09c1cc
Issue #26386 : Fixed ttk.TreeView selection operations with item id's
...
containing spaces.
2016-06-14 12:33:31 +03:00
Serhiy Storchaka
8acb568c88
Issue #27025 : Generated names for Tkinter widgets are now more meanful
...
and recognizirable.
2016-06-13 09:24:11 +03:00
Serhiy Storchaka
d611f4cf10
Issue #27294 : Improved repr for Tkinter event objects.
2016-06-12 00:19:44 +03:00
Martin Panter
0b7d84de6b
Issue #27171 : Merge typo fixes from 3.5
2016-06-02 10:11:18 +00:00
Martin Panter
e26da7c03a
Issue #27171 : Fix typos in documentation, comments, and test function names
2016-06-02 10:07:09 +00:00
Martin Panter
e514093a2f
Issue #27125 : Merge typo fixes from 3.5
2016-05-30 05:24:49 +00:00
Martin Panter
a90a4a9651
Issue #27125 : Remove duplicated words from documentation and comments
2016-05-30 04:04:50 +00:00
Martin Panter
e501a93c18
Issue #27125 : Merge typo fixes from 3.5
...
Also merge changes from Issue #27117 ; no actual code changes to 3.6.
2016-05-29 09:05:06 +00:00
Martin Panter
8d56c026a5
Issue #27125 : Fix various errors like “will [be] inherited”
2016-05-29 04:13:35 +00:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Serhiy Storchaka
2e208b7d62
Issue #27031 : Removed dummy methods in Tkinter widget classes: tk_menuBar()
...
and tk_bindForTraversal().
2016-05-16 22:35:46 +03:00
Martin Panter
1ce738e08f
Merge typo fixes from 3.5
2016-05-08 14:02:35 +00:00
Martin Panter
4c35964b76
Corrections for a/an in code comments and documentation
2016-05-08 13:53:41 +00:00
Martin Panter
f0564164ba
Fix typos in comments, documentation and test method names
2016-05-08 13:48:10 +00:00
Serhiy Storchaka
159e5359d9
Remove outdated TkVersion checks.
...
Minimal supported Tcl/Tk version is 8.4, and this is checked in _tkinter.c.
2016-04-25 13:49:11 +03:00
Serhiy Storchaka
e437a10d15
Issue #23277 : Remove unused imports in tests.
2016-04-24 21:41:02 +03:00
Berker Peksag
1e8ee9b380
Issue #23277 : Remove unused sys and os imports
...
Patch by Jon Dufresne.
2016-04-24 07:31:42 +03:00
Serhiy Storchaka
b6a9c9761c
Issue #26778 : Fixed "a/an/and" typos in code comment, documentation and error
...
messages.
2016-04-17 09:39:28 +03:00
Serhiy Storchaka
6a7b3a77b4
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 08:32:47 +03:00
Terry Jan Reedy
a55553d7e3
Merge with 3.5
2016-03-11 15:31:02 -05:00
Terry Jan Reedy
ca0250a878
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:35 -05:00
Serhiy Storchaka
2d68f18656
Issue #26177 : Fixed the keys() method for Canvas and Scrollbar widgets.
2016-03-09 10:52:08 +02:00
Serhiy Storchaka
42a4366ad5
Issue #26177 : Fixed the keys() method for Canvas and Scrollbar widgets.
...
Added few missed tests for configure options.
2016-03-09 10:33:51 +02:00
Martin Panter
3008b1c4bb
Issue #26304 : Merge doc wording from 3.5
2016-02-10 05:44:56 +00:00
Martin Panter
c04fb56e36
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
fa02131adb
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:31:52 +02:00
Serhiy Storchaka
e46e09d0f5
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:31:38 +02:00
Serhiy Storchaka
40fe35a95e
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:30:35 +02:00
Serhiy Storchaka
b9d672491d
Issue #25263 : Trying to fix test_use on Windows.
...
Avoid possible weird behavior of WideInt convertion.
"winfo id" always returns string hexadecimal representation.
2015-11-09 14:43:31 +02:00
Serhiy Storchaka
29a2f7c6b3
Issue #25263 : Trying to fix test_use on Windows.
2015-11-07 18:06:24 +02:00
Serhiy Storchaka
4a7c03aab4
Issue #25523 : Merge a-to-an corrections from 3.5.
2015-11-02 14:44:29 +02:00
Serhiy Storchaka
a84f6c3dd3
Issue #25523 : Merge a-to-an corrections from 3.4.
2015-11-02 14:39:05 +02:00
Serhiy Storchaka
d65c9496da
Issue #25523 : Further a-to-an corrections.
2015-11-02 14:10:23 +02:00
Martin Panter
e56a919100
Issue #25523 : Merge a-to-an corrections from 3.5
2015-11-02 04:27:17 +00:00
Martin Panter
2eb819f7a8
Issue #25523 : Merge "a" to "an" fixes from 3.4 into 3.5
2015-11-02 04:04:57 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Ethan Furman
ad1a34197e
Close issue6549: minor ttk.Style fixes
2015-07-21 00:54:19 -07:00
Serhiy Storchaka
ac803cd2f3
Issue #24408 : Fixed test for tkinter.Font on OS X.
...
Based on patch by Martin Panter.
2015-06-21 14:42:57 +03:00
Serhiy Storchaka
753a1dfcc2
Issue #24408 : Fixed test for tkinter.Font on OS X.
...
Based on patch by Martin Panter.
2015-06-21 14:41:44 +03:00
Serhiy Storchaka
fabdc827a5
Issue #24408 : Added more tkinter.Font tests.
2015-06-09 07:21:00 +03:00
Serhiy Storchaka
c0ed707b2f
Issue #24408 : Added more tkinter.Font tests.
2015-06-09 07:18:54 +03:00
Serhiy Storchaka
4fafda731a
Issue #24408 : Fixed AttributeError in measure() and metrics() methods of
...
tkinter.Font.
2015-06-08 18:43:55 +03:00
Zachary Ware
7dc9dea778
Issue #20035 : Reimplement tkinter._fix module as a C function.
...
The new private C function makes no permanent changes to the environment
and is #ifdef'd out on non-Windows platforms.
2015-05-22 11:36:53 -05:00
Serhiy Storchaka
e98209c2b4
Issue #24245 : Eliminated senseless expect clauses that have no any effect.
...
Patch by Martin Panter.
2015-05-20 16:10:04 +03:00
Serhiy Storchaka
645058d11a
Issue #23880 : Tkinter's getint() and getdouble() now support Tcl_Obj.
...
Tkinter's getdouble() now supports any numbers (in particular int).
2015-05-06 14:00:04 +03:00
Serhiy Storchaka
f28d54d3b9
Use more precise Tcl version checks in tests.
2015-04-23 10:58:15 +03:00
Serhiy Storchaka
3bd66abb94
Use more precise Tcl version checks in tests.
2015-04-23 10:57:40 +03:00
Serhiy Storchaka
aec0509193
Fixed full Tcl version parsing in tests for pre-final versions.
2015-04-22 08:36:41 +03:00
Serhiy Storchaka
462c357d70
Fixed full Tcl version parsing in tests for pre-final versions.
2015-04-22 08:36:03 +03:00
Berker Peksag
dfa4e045a3
Issue #23943 : Fix typos. Patch by Piotr Kasprzyk.
2015-04-14 09:35:51 +03:00
Berker Peksag
4882cacab6
Issue #23943 : Fix typos. Patch by Piotr Kasprzyk.
2015-04-14 09:30:01 +03:00
Brett Cannon
f299abdafa
Issue #23731 : Implement PEP 488.
...
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.
2015-04-13 14:21:02 -04:00
Serhiy Storchaka
06e66108c6
Issue #15133 : _tkinter.tkapp.getboolean() now supports Tcl_Obj and always
...
returns bool. tkinter.BooleanVar now validates input values (accepted bool,
int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
2015-04-04 12:44:30 +03:00
Serhiy Storchaka
9a6e201f7d
Issue #15133 : _tkinter.tkapp.getboolean() now supports Tcl_Obj and always
...
returns bool. tkinter.BooleanVar now validates input values (accepted bool,
int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
2015-04-04 12:43:01 +03:00
Serhiy Storchaka
7c28999cb2
Issue #22769 : Fixed ttk.Treeview.tag_has() when called without arguments.
2014-11-07 12:03:09 +02:00
Serhiy Storchaka
8e92f57274
Issue #22769 : Fixed ttk.Treeview.tag_has() when called without arguments.
2014-11-07 12:02:31 +02:00