If i create a widget in Tkinter i can specify a widget name that takes part in tcl/tk "widget path" concept. For example:
from Tkinter import *
button = Button( Frame( Tk(), name = "myframe" ), name = "mybutton" )
str( button ) == ".myframe.mybutton"
Is it possible to get a widget by it's name, "mybutton" in my example?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…