Re: Wanting to fire an event when property content changes

2009-03-03 Thread Albert Hopkins
On Tue, 2009-03-03 at 13:41 -0600, nuwandame wrote: > What I am wanting to do is execute code whenever a property of a class > object has been changed. > > i.e. > > class test: > > testproperty = None > > > bob = test() > bob.testproperty = 'something' > > So, when bob.testproperty is set

Wanting to fire an event when property content changes

2009-03-03 Thread nuwandame
What I am wanting to do is execute code whenever a property of a class object has been changed. i.e. class test: testproperty = None bob = test() bob.testproperty = 'something' So, when bob.testproperty is set to a new value I can run code that changes other dependent yet loosly tied prop