| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
This fixes the test failure with Tk 6.8.10 which is caused by changes to how Tk rounds the `from`, `to` and `tickinterval` arguments. This PR uses `noconv` if the patchlevel is greater than or equal to 8.6.10 (credit to Serhiy for this idea as it is much simpler than what I previously proposed).
Going into more detail for those who want it, the Tk change was made in [commit 591f68c](https://github.com/tcltk/tk/commit/591f68cb382525b72664c6fecaab87742b6cc87a) and means that the arguments listed above are rounded relative to the value of `from`. However, when rounding the `from` argument ([line 623](https://github.com/tcltk/tk/blob/591f68cb382525b72664c6fecaab87742b6cc87a/generic/tkScale.cGH-L623)), it is rounded relative to itself (i.e. rounding `0`) and therefore the assigned value for `from` is always what is given (no matter what values of `from` and `resolution`).
Automerge-Triggered-By: @pablogsal
(cherry picked from commit aecf036738a404371303e770f4ce4fd9f7d43de7)
Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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).
(cherry picked from commit 06cb94bc8419b9a24df6b0d724fcd8e40c6971d6)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
|
| |
(GH-9957)
(cherry picked from commit 1deea5e53991b46351f6bb395b22365c9455ed88)
|
| |
|
|
|
| |
(cherry picked from commit e271ca78e37a502b3dc1036f824aa3999efcd56b)
(cherry picked from commit c75c1e0e8aeb720ac3fcfab119b70cabba4e8235)
|
| |
|
|
|
|
|
| |
(GH-5701)
(cherry picked from commit 74382a3f175ac285cc924a73fd758e8dc3cc41bb)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
|
| | |
|
| |\
| |
| |
| |
| | |
by representing the scale as float value internally in Tk. tkinter.IntVar
now works if float value is set to underlying Tk variable.
|
| | |
| |
| |
| |
| | |
by representing the scale as float value internally in Tk. tkinter.IntVar
now works if float value is set to underlying Tk variable.
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| | |
* 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
|
| | |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| | |
and recognizirable.
|
| |\ \
| |/ |
|
| | |
| |
| |
| | |
Added few missed tests for configure options.
|
| |\ \
| |/
| |
| |
| |
| |
| | |
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.
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/ / |
|
| |\ \
| |/
| |
| | |
Based on patch by Martin Panter.
|
| | |
| |
| |
| | |
Based on patch by Martin Panter.
|
| |\ \
| |/ |
|
| | | |
|
| | |
| |
| |
| | |
Tkinter's getdouble() now supports any numbers (in particular int).
|
| |\ \
| |/ |
|
| | | |
|
| |\ \
| |/
| |
| |
| | |
returns bool. tkinter.BooleanVar now validates input values (accepted bool,
int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
|
| | |
| |
| |
| |
| | |
returns bool. tkinter.BooleanVar now validates input values (accepted bool,
int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| |/
| |
| | |
In particular this allows to initialize images from binary data.
|
| | |
| |
| |
| | |
In particular this allows to initialize images from binary data.
|
| | |
| |
| |
| | |
from 6ae34a948cb4.
|
| | |
| |
| |
| |
| | |
the argument is not specified. Scrollbar.set() now always accepts only 2
arguments. Added tests for Scrollbar.activate() and Scrollbar.set().
|
| |\ \
| |/
| |
| | |
bbox(), curselection() and get().
|
| | |
| |
| |
| | |
bbox(), curselection() and get().
|
| |\ \
| |/ |
|
| | | |
|
| |\ \
| |/ |
|
| | | |
|
| |\ \
| |/
| |
| | |
PanedWindow.paneconfigure(), and Menu.entryconfigure().
|
| | |
| |
| |
| | |
PanedWindow.paneconfigure(), and Menu.entryconfigure().
|
| |\ \
| |/ |
|
| | | |
|
| |/ |
|
| |\ |
|
| | | |
|
| |\ \
| |/
| |
| | |
Improved error handling in variables-related commands.
|
| | |
| |
| |
| | |
Improved error handling in variables-related commands.
|
| |\ \
| |/
| |
| | |
Fixed a regression inroduced in issue #6157.
|
| | |
| |
| |
| | |
Fixed a regression inroduced in issue #6157.
|