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
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
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
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
c72e66a048
Issue #25523 : Backported a-to-an corrections.
2015-11-02 15:06:09 +02: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
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
Serhiy Storchaka
d3ea06537c
Issue #22236 : Tkinter tests now don't reuse default root window. New root
...
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.
2014-08-24 09:07:09 +03:00
Serhiy Storchaka
44ae51347c
Issue #22068 : Avoided reference loops with Variables and Fonts in Tkinter.
2014-08-17 15:31:41 +03:00
Serhiy Storchaka
04fa704161
Issue #21580 : Now Tkinter correctly handles binary "data" and "maskdata"
...
configure options of tkinter.PhotoImage.
Added private Tkapp method _createbytearray().
2014-07-31 07:48:14 +03:00
Serhiy Storchaka
2ce9ddd041
Issue #22061 : Add deprecation warnings in empty obsolete methods.
2014-07-25 12:23:08 +03:00
Serhiy Storchaka
f94686f6b8
Issue #6181 : Fixed minor bugs in tkinter.Listbox methods:
...
bbox(), curselection() and get().
2014-06-02 21:30:53 +03:00
Serhiy Storchaka
417367a48a
Issue #6181 : Fixed errors in tkinter.Listbox docstrings.
...
Based on patch by Guilherme Polo.
2014-06-02 16:50:03 +03:00
Serhiy Storchaka
3e0cb09e33
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
...
Tkinter widgets to work in wantobjects=True mode.
2014-02-19 18:33:30 +02:00
Serhiy Storchaka
2bca9deecb
tkinter.Text.debug() now always returns 0/1.
...
Fixed regression inroduced in issue #6157 .
2014-01-11 13:12:58 +02:00
Serhiy Storchaka
9be238d313
Issue #20072 : Fixed multiple errors in tkinter with wantobjects is False.
...
* 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.
2014-01-07 19:32:58 +02:00
Serhiy Storchaka
5e11655156
Issue #20067 : Tkinter variables now work when wantobjects is false.
2013-12-26 20:05:53 +02:00
Serhiy Storchaka
ec773cc9c3
Issue #19020 : Tkinter now uses splitlist() instead of split() in configure
...
methods.
2013-12-25 16:35:20 +02:00
Serhiy Storchaka
31b9c845d3
Issue #6157 : Fixed Tkinter.Text.debug(). Original patch by Guilherme Polo.
2013-11-03 14:28:29 +02:00
Serhiy Storchaka
8630f16eb7
Issue #6160 : The bbox() method of Tkinter.Spinbox now returns a tuple of
...
integers instead of a string. Based on patch by Guilherme Polo.
2013-11-03 14:13:08 +02:00
Serhiy Storchaka
b445558d84
Issue #16809 : Fixed some tkinter incompabilities with Tcl/Tk 8.6.
2013-08-22 17:53:16 +03:00
Antoine Pitrou
ba7620cbff
Fix tkinter regression introduced by the security fix in #16248 .
2013-08-01 22:25:12 +02:00
Serhiy Storchaka
e39ba04e22
Issue #15861 : tkinter now correctly works with lists and tuples containing
...
strings with whitespaces, backslashes or unbalanced braces.
2013-01-15 18:01:21 +02:00
Andrew Svetlov
4bb142b1b7
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:27:37 +02:00
Andrew Svetlov
33b9b71e8d
Issue #16582 : use int exit code in tkinter._exit
2012-12-10 00:05:08 +02:00
Antoine Pitrou
7dddec4e9d
Issue #16248 : Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python.
...
Patch by Zachary Ware.
2012-12-09 14:46:18 +01:00
Ned Deily
724a55c525
Issue #14777 : In an X11 windowing environment, tkinter may return
...
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.
2012-05-15 18:05:57 -07:00
Senthil Kumaran
4af1c6a4fc
Fix closes Issue11439 - Handle the SVN Keywords in 2.7 by replacing them with a high number so that code relying on them does not break.
2011-07-28 22:30:27 +08:00
Ezio Melotti
24b07bcba3
#11515 : fix several typos. Patch by Piotr Kasprzyk.
2011-03-15 18:55:01 +02:00
Benjamin Peterson
6e3dbbdf39
replace has_key with 'in' operator
2009-10-09 22:15:50 +00:00
Benjamin Peterson
de0559998f
replace callable()
2009-10-09 22:05:45 +00:00
Guilherme Polo
75e1f9985a
Clarifying Entry.selection_present's docstring.
2009-08-14 14:43:43 +00:00
Guilherme Polo
e45f017023
Issue #1135 : Add the XView and YView mix-ins to avoid duplicating
...
the xview* and yview* methods.
2009-08-14 14:36:45 +00:00
Guilherme Polo
1c6787f9de
Improved PanedWindow.add's docstring. 'subcomand' is a Tcl term, and the possible options and values are the same accepted by paneconfigure (not configure).
2009-05-31 21:31:21 +00:00
Guilherme Polo
6d6c1fd04e
Fixed issue #5193 : Guarantee that Tkinter.Text.search returns a string.
2009-03-07 01:19:12 +00:00
Mark Dickinson
3e4caeb3bf
Issue #5341 : Fix a variety of spelling errors.
2009-02-21 20:27:01 +00:00
Guilherme Polo
d2ea0332ab
Fixed issue #4890 : Handle empty text search pattern in
...
Tkinter.Text.search
2009-02-09 16:41:09 +00:00
Hirokazu Yamamoto
b9828f67b8
Issue #3774 : Fixed an error when create a Tkinter menu item without command
...
and then remove it. Written by Guilherme Polo (gpolo).
2008-11-03 18:03:06 +00:00
Robert Schuppenies
af1aae3aa6
Issue #1342811 : Fixed broken patch. Reviewed by benjamin.peterson.
2008-08-22 08:03:43 +00:00
Robert Schuppenies
14646337bf
Issue #1342811 : Fix leak in Tkinter.Menu.delete. Commands associated to
...
menu entries were not deleted.
2008-08-10 11:01:53 +00:00
Brett Cannon
ff6868cf10
Remove a use of callable() from Tkinter to silence warnings under -3.
2008-08-04 21:24:43 +00:00
Martin v. Löwis
aabf404ecc
Issue #799428 : Fix Tkinter.Misc._nametowidget to unwrap
...
Tcl command objects.
2008-08-02 07:20:25 +00:00
Benjamin Peterson
e70f8e1205
remove usage of MacOS from Tkinter
2008-07-31 15:15:45 +00:00