Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31258

Tkinter how to access the widget by name

Newsgroups comp.lang.python
Date 2012-10-14 13:11 -0700
Message-ID <40621ce6-1b68-4cfa-8baf-cbfefce4f32b@googlegroups.com> (permalink)
Subject Tkinter how to access the widget by name
From Владимир Пылев <clinicalfilm@gmail.com>

Show all headers | View raw


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 ..!!!!

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Tkinter how to access the widget by name Владимир Пылев <clinicalfilm@gmail.com> - 2012-10-14 13:11 -0700
  RE: Tkinter how to access the widget by name "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-10-15 22:26 +0000
    Re: Tkinter how to access the widget by name Владимир Пылев <clinicalfilm@gmail.com> - 2012-10-16 22:35 -0700
    Re: Tkinter how to access the widget by name Владимир Пылев <clinicalfilm@gmail.com> - 2012-10-16 22:35 -0700
  Re: Tkinter how to access the widget by name woooee <woooee@gmail.com> - 2012-10-16 18:52 -0700

csiph-web