How to chatch the event of the change of a property value?

How does the code look like to handle the event of a property value change by a panel control, e.g. when changing the location.x of the object properties, the objcts moves in the 3D view immediately. How can I script the same behaviour for my own scene properties and catch the event when the value is changed with Blender 2.57?