Re: access properties of parent widget in Tkinter

2005-06-16 Thread William Gill
Kent Johnson wrote: > William Gill wrote: > >> Kent Johnson wrote: >> >> If I change the area code in one record only the phonenumber table >> needs to be updated, but since areaCode is a child of phones, >> phones.hasChanged needs to be set to True by the areaCode entry widget. > > > One poss

Re: access properties of parent widget in Tkinter

2005-06-16 Thread Kent Johnson
William Gill wrote: > Kent Johnson wrote: > > If I change the area code in one record only the phonenumber table needs > to be updated, but since areaCode is a child of phones, > phones.hasChanged needs to be set to True by the areaCode entry widget. One possibility is for the phones.hasChanged

Re: access properties of parent widget in Tkinter

2005-06-16 Thread William Gill
Kent Johnson wrote: > William Gill wrote: > >> I am trying to get & set the properties of a widget's parent widget. >> What I have works, but seems like a long way around the block. First >> I get the widget name using w.winfo_parent(), then i convert the name >> to a reference using nametowid

Re: access properties of parent widget in Tkinter

2005-06-16 Thread William Gill
Kent Johnson wrote: > William Gill wrote: > >> I am trying to get & set the properties of a widget's parent widget. >> What I have works, but seems like a long way around the block. First >> I get the widget name using w.winfo_parent(), then i convert the name >> to a reference using nametowid

Re: access properties of parent widget in Tkinter

2005-06-16 Thread William Gill
Kent Johnson wrote: > William Gill wrote: > >> I am trying to get & set the properties of a widget's parent widget. >> What I have works, but seems like a long way around the block. First >> I get the widget name using w.winfo_parent(), then i convert the name >> to a reference using nametowid

RE: access properties of parent widget in Tkinter

2005-06-16 Thread Silvia Rovati
ent: giovedi 16 giugno 2005 14:33 To: python-list@python.org Subject: Re: access properties of parent widget in Tkinter William Gill wrote: > I am trying to get & set the properties of a widget's parent widget. > What I have works, but seems like a long way around the block. First

Re: access properties of parent widget in Tkinter

2005-06-16 Thread Kent Johnson
William Gill wrote: > I am trying to get & set the properties of a widget's parent widget. > What I have works, but seems like a long way around the block. First I > get the widget name using w.winfo_parent(), then i convert the name to a > reference using nametowidget(). > > self.nametowidg

access properties of parent widget in Tkinter

2005-06-15 Thread William Gill
I am trying to get & set the properties of a widget's parent widget. What I have works, but seems like a long way around the block. First I get the widget name using w.winfo_parent(), then i convert the name to a reference using nametowidget(). self.nametowidget(event.widget.winfo_parent())