Tkinter how to access the widget by name
Владимир Пылев
clinicalfilm at gmail.com
Sun Oct 14 16:11:55 EDT 2012
I'm a little teapot ... himself the question: if I want to appeal to the widget, knowing his name... ?
# appropriated the name of the widget
label = Label(frame, width = 40, text='text', name = 'name')
...
name_='name'
configure(name_)
...
def configure(name_)
#And how can that be?
# At least let the text you want to change ....
I beg you ..!!!!
More information about the Python-list
mailing list