On 10/19/2017 11:28 PM, jf...@ms4.hinet.net wrote:
Terry Reedy於 2017年10月20日星期五 UTC+8上午7時37分59秒寫道:
On 10/19/2017 5:07 AM, jf...@ms4.hinet.net wrote:
I got some info below each time when I squeeze the table:
.
.50077776
.50077776.50712528
.50077776.50712496
.50077776.50712464
.50077776.50712144
.50077776.50712528.50712560.50782256
.50077776.50712528.50712560.50782256.50783024
.50077776.50712528.50712560.50782256
.50077776.50712528.50712560.50782256.50783024
How to change these number(is it a widget ID?) to a meaning name?
The number strings as names are the defaults that came from tkinter, not
tcl/tk. In 3.6, the default names were changed to be versions of the
class name.
>>> import tkinter as tk
>>> r = tk.Tk()
>>> b = tk.Button(r)
>>> b
<tkinter.Button object .!button>
>>> b2 = tk.Button(r)
>>> b2
<tkinter.Button object .!button2>
--
Terry Jan Reedy
It's very nice to have this improvment.
What it will be to the previous number output format, say, .50077776.50712528?
Will it become something like this:
<tkinter.Table object.Scrolling_Area object.!scrolling_area>
I anticipate <tkinter.Scrolling_Area object .!table.!scrolling_area>
then, that's really great:-)
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinfo/python-list